0e2425621d
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 |
||
---|---|---|
defaults | ||
meta | ||
tasks | ||
templates | ||
CONTRIBUTING.rst | ||
LICENSE | ||
README.rst |
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" ] }