RETIRED, Role os_swift_sync for OpenStack-Ansible
Go to file
Jimmy McCrory 0e2425621d Cleanup syntax issues for Ansible 2 compatibility
This patch fixes a few syntax issues required for Ansible 2
compatibility that Ansible 1.x was more lenient with.

When a 'when' clause is combined with a 'with_*' statement, the clause
is processed separately for each item. Tasks with 'when' clauses which
depended on an item variable being defined have either applied a default
empty value to the item or a new task individual task has been created
for each item in the loop.

Tasks within the os-cinder-install playboook have been updated to loop
through cinder_backends as a hash.

Change-Id: I9b53eb5dd709a6bed1797961015aa3dd328340f3
2016-01-29 10:53:49 -08:00
defaults Implement swift venv support 2015-10-15 17:56:05 +00:00
meta Add swift-sync role and environment 2015-08-07 08:45:18 +00:00
tasks Cleanup syntax issues for Ansible 2 compatibility 2016-01-29 10:53:49 -08:00
templates Fix os_swift_sync role's set_weight 2016-01-08 14:18:51 +00:00
CONTRIBUTING.rst Add swift-sync role and environment 2015-08-07 08:45:18 +00:00
LICENSE Add swift-sync role and environment 2015-08-07 08:45:18 +00:00
README.rst Add swift-sync role and environment 2015-08-07 08:45:18 +00:00

README.rst

OpenStack swift key/ring sync

tags

openstack, swift, cloud, ansible

category

*nix

Role to synchronise keys and the ring for swift hosts

This role will synchronise the following:
  • ring
  • ssh keys
- name: Sync swift rings and keys
  hosts: swift_all:swift_remote_all
  user: root
  roles:
    - { role: "os_swift_sync", tags: [ "os-swift-sync" ] }