Add swift_all inventory to swift account/container/object plays

This patch adds the swift_all inventory to the swift account, container
and object plays to ensure that the correct service name is used when
the play configures the upstart services.
Without including the inventory a different service name is used,
resulting in upstart trying to find the config files in /etc/neutron.

Change-Id: I725e87fca647a21ea0e2d64952626b6f6fc6e2a3
Closes-Bug: #1402617
This commit is contained in:
Jesse Pretorius 2014-12-15 11:49:03 +00:00
parent 04b9ff0c56
commit 198645cd2c
4 changed files with 5 additions and 0 deletions

View File

@ -19,6 +19,7 @@
- swift_init_scripts - swift_init_scripts
- swift_account - swift_account
vars_files: vars_files:
- inventory/group_vars/swift_all.yml
- vars/openstack_service_vars/swift_account.yml - vars/openstack_service_vars/swift_account.yml
handlers: handlers:
- include: handlers/swift_services.yml - include: handlers/swift_services.yml

View File

@ -33,3 +33,5 @@
user: root user: root
roles: roles:
- swift_ring_distribute - swift_ring_distribute
vars_files:
- inventory/group_vars/swift_all.yml

View File

@ -19,6 +19,7 @@
- swift_init_scripts - swift_init_scripts
- swift_container - swift_container
vars_files: vars_files:
- inventory/group_vars/swift_all.yml
- vars/openstack_service_vars/swift_container.yml - vars/openstack_service_vars/swift_container.yml
handlers: handlers:
- include: handlers/swift_services.yml - include: handlers/swift_services.yml

View File

@ -19,6 +19,7 @@
- swift_init_scripts - swift_init_scripts
- swift_object - swift_object
vars_files: vars_files:
- inventory/group_vars/swift_all.yml
- vars/openstack_service_vars/swift_object.yml - vars/openstack_service_vars/swift_object.yml
handlers: handlers:
- include: handlers/swift_services.yml - include: handlers/swift_services.yml