diff --git a/ansible/roles/swift/tasks/pull.yml b/ansible/roles/swift/tasks/pull.yml index f054bb20e9..a0ca0c694a 100644 --- a/ansible/roles/swift/tasks/pull.yml +++ b/ansible/roles/swift/tasks/pull.yml @@ -6,8 +6,7 @@ image: "{{ swift_rsyncd_image_full }}" when: inventory_hostname in groups['swift-account-server'] or inventory_hostname in groups['swift-container-server'] or - inventory_hostname in groups['swift-object-server'] or - inventory_hostname in groups['swift-proxy-server'] + inventory_hostname in groups['swift-object-server'] - name: Pulling swift-account-auditor image kolla_docker: diff --git a/ansible/roles/swift/tasks/start.yml b/ansible/roles/swift/tasks/start.yml index 100d56c5e5..980c00b0ac 100644 --- a/ansible/roles/swift/tasks/start.yml +++ b/ansible/roles/swift/tasks/start.yml @@ -11,6 +11,7 @@ - "swift_sdb1:/srv/node/sdb1" - "swift_sdb2:/srv/node/sdb2" - "swift_sdb3:/srv/node/sdb3" + when: inventory_hostname not in groups['swift-proxy-server'] - name: Starting swift-proxy-server container kolla_docker: