aboutsummaryrefslogtreecommitdiff
path: root/ansible
AgeCommit message (Collapse)AuthorFilesLines
2015-07-05Change restart policy for bootstrap containerSam Yaple4-4/+5
Sets the restart policy to 'no' for bootstrap containers Change-Id: I1044fdc70a6b7d50396fd923b6be67bd7c47faa2 Closes-Bug: 1471536
2015-07-03Updated keystone for wsgi in config-externalSam Yaple5-10/+38
This will switch config-external to using wsgi vs evenlet for keystone. Partially Implements: blueprint ansible-service Change-Id: I85a88c813ed36d827916796199dad735b2d44b40
2015-07-03Ansible Rabbitmq supportSam Yaple8-7/+102
Adds initial support for Rabbitmq in Ansible using the CONFIG_EXTERNAL methods. Additionally, this refactors some of the Rabbitmq config script to allow for reuse by CONFIG_EXTERNAL. Partially Implements: blueprint ansible-service Change-Id: I1765548f7e4f1258eb8a49e2a23242955f52655d
2015-07-03Ansible Mariadb w/ Galera supportSam Yaple9-10/+162
Adds initial support for Mariadb with Galera replication in Ansible using the CONFIG_EXTERNAL methods. Additionally, this refactors some of the Galera config script to allow for reuse by CONFIG_EXTERNAL. Partially Implements: blueprint ansible-service Change-Id: I566fea0376ecca39fc8a5167f9ff9ff434ea7b7e
2015-06-30Add initial config function and keystone supportSam Yaple12-7/+285
Add set_configs function that implements the flow from the proposed ansible-multi spec. Move start.sh to config-internal.sh to preserve existing behaviour. config-externall.sh copies the appropriate configs in from the bind'd location and sets permissions and ownership appropriately. Partially Implements: blueprint ansible-multi Change-Id: I53fca0660451087f273fefc3c63e0d8cf1a2c096
2015-06-22Move ansible/README.md under docs/Paul Bourke1-50/+0
Move the Ansible README under the docs/ dir to make it more visible to people browsing the docs. Change-Id: Ibe38ac24ad5c328486f7a9dd13fbe825d77d26e0
2015-06-02fix ansible libary passing error arguments.weiyu1-2/+1
kolla is mandatory to run a version of docker-compose that includes pid: host support.docker-compose 1.3.0 to include the necessary features. docker-compose 1.3.0 project.up() abandoned the parameters detach and use allow_recreate replace recreate parameters. closes-Bug: #1458116 Change-Id: I1235da58db5bedf208ebaea2a54568964dc802f8
2015-05-05Add auth role to ansibleFang Fenghua3-0/+15
Add a auth role so ansible can deploy keystone. Change-Id: I3f41fe150654451aae6271cce59ddeb807945043
2015-04-03Allow the Kolla directory to be configurableSam Yaple4-2/+6
Implements the initial structure for variable substitution in ansible. Change-Id: I26d82189273be6ebf941b0ab82efc6bf1eebc53d
2015-04-02Add and use ansible module for docker-composeSam Yaple3-2/+312
This ansible module for docker-compose allows for idempotency. I have submitted a pull request upstream to ansible-modules-extra to include this new module. When/if the module is accepted upstream if can be removed from the local module library. The two playbooks have been updated to use this module. The database data container does not support idempotency due to the fact that it exists instead of sleeps. Therefore each time `docker-compose up` is called, it will start the container and register a change. The message-broker does not have this issue and will remain unchanged even repeatedly running these playbooks. Due to the use of a special branch of docker-compose provided by sdake, this module requires at least docker-compose==1.2.0rc1 Change-Id: If1644eaa3bff0c2a007fa2d479a95bea941945f6
2015-03-31Add documentation for running with ansible tagsSam Yaple1-9/+14
Additionally fix some md format mistakes. Change-Id: Ica1600b16986303feb188976ec86972ca2f5b942
2015-03-28Initial commit for adding ansible supportSam Yaple6-0/+80
This adds a very basic structure to begin supporting ansible in Kolla. Ansible can support complete idempotency, but wrapping docker-compose does not allow idempotency at this time. These playbooks will be extended to compensate for that in future patches. Change-Id: I1c9e8d32321e2733f5a9b752edf74b4fe90317ed