summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openstack/usr/share/openstack/swift-controller.yml7
1 files changed, 3 insertions, 4 deletions
diff --git a/openstack/usr/share/openstack/swift-controller.yml b/openstack/usr/share/openstack/swift-controller.yml
index 41e3d344..e963383f 100644
--- a/openstack/usr/share/openstack/swift-controller.yml
+++ b/openstack/usr/share/openstack/swift-controller.yml
@@ -2,6 +2,7 @@
- hosts: localhost
vars_files:
- swift-vars.yml
+ vars:
- rings: ['account', 'container', 'object']
remote_user: root
tasks:
@@ -45,10 +46,8 @@
- name: Rebalance the ring
shell: swift-ring-builder {{ item }}.builder rebalance
- with_items:
- - rings
+ with_items: rings
- name: Transfer ring to /etc/swift on each node
shell: cp {{ item }}.builder /etc/swift
- with_items:
- - rings
+ with_items: rings