Commit Graph

13 Commits

Author SHA1 Message Date
Dmitriy Rabotyagov 9b50eb1088 Allow to gracefully drain backends when disabled
This adds required parameters to the playbook to drain existing connections
towards backends instead of forcefully closing connections.

Change-Id: Iad35b654e0cec1b9e4083ef547822feecdf917b6
2024-01-23 11:37:08 +01:00
Dmitriy Rabotyagov a6fe4260a2 Use only unique backends to iterate over
Prior output was containing same host multiple times. Applying uniq
to the stdout should eliminate that and result in running module only
once per host as was originally intended.

Change-Id: I0993a276d26a7da86fa60b8735de05ee24160395
2024-01-23 11:13:53 +01:00
Kirill Tyugaev 11efaaec95 Improve venv cleanup regexp discovery
Change-Id: If52687cb1fabed575eb3467216163b64b0c89635
2022-12-20 16:13:52 +03:00
Zuul 5c1bd46f91 Merge "Fixed venvs pattern to be more specific" 2021-03-25 11:00:20 +00:00
Adrien Cunin ddedfcff76 Fixed venvs pattern to be more specific
Closes-Bug: #1910223
Change-Id: Icb58263a2a59f131715a5120652a39ed67673e39
2021-03-25 10:26:18 +01:00
Adrien Cunin a7de5d89a8 Removed task to cleanup venv tgz
venv tgz in /var/cache/ no longer exist.

Change-Id: Ib91712b5663ec24e29de28e2522046c8dc1b90c6
2021-03-24 15:13:01 +01:00
Adrien Cunin ef93e364a5 Added new playbook to set HAProxy backends state
It helps to globally enable/disable HAProxy backends related to a
specific controller.

Change-Id: I776092b91c6a0a4949244faa044da2d45327cb4e
2020-02-19 17:21:16 +01:00
Adrien Cunin 00a1e37787 Added ability to cleanup venv tgz, use find module
cleanup-venvs.yml now removes older venv tgz, in addition to older venvs
directories.

It now uses the more appropriate and efficient find module instead of
the shell module.

Change-Id: Iab98039a84bb4b0e787c439d67fa81b7e108c3ff
2017-12-15 11:11:59 +01:00
Adrien Cunin 53b5d88867 Added cleanup-venvs.yml to help remove older venvs
Change-Id: I259c13ffc07ea5c20178875d75b2fb3d42285d66
2017-11-03 15:24:17 +01:00
Kevin Carter 007be7a400
Add playbook to archive all running containers
In some cases a deployer may want to make a running backup of all
containers within an environment. This playbook will index all
containers and arhive them in the /opt/archives directory on the
physical host the container is running on.

Change-Id: I94880d4c00f89d5c678a1903f35120917561aa51
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-08-17 11:58:59 -05:00
Vaishali Pavashe 47cde0a9c9 Remove neutron agent task fails to loop through multiple agents.
Change-Id: I58150d2607a37fcb3d6d7a52ec4d7a88177f676a
2017-08-15 14:49:29 -04:00
SirishaGuduru 4e13bb102b Playbook to mount drives in swift object nodes
Currently in any of the release of openstack-ansible
there is no role to mount the drives in swift object
server nodes. This can now be a part of
openstack-ansible-ops as this is all operational stuff.

If the user knows the type of the file system that is
going to be used, we can mount the drives as well using
the playbook without manual intervention.

Doc is also modified according to the playbook.

Modified the lines according to the comments given.

Change-Id: I991ee4891253d2f99703c80e350df21c43db01e8
Closes-Bug: #1535536
2016-08-02 10:33:21 +05:30
Miguel Alex Cantu a03801effb Add ansible playbook for removing compute
This commit adds a playbook and for removing a compute node from an
OpenStack-Ansible environment. It also introduces a directory structure
for ansible related tools.

Change-Id: I806148974fd0f4b05f6e455a4444e7c70ba05f9a
Closes-Bug: #1588821
Related: https://review.openstack.org/#/c/340458
2016-07-26 19:47:28 +00:00