diff --git a/ansible/roles/swift/tasks/start.yml b/ansible/roles/swift/tasks/start.yml index af7ccc0960..7dfbc8404c 100644 --- a/ansible/roles/swift/tasks/start.yml +++ b/ansible/roles/swift/tasks/start.yml @@ -75,6 +75,8 @@ kolla_docker: action: "start_container" common_options: "{{ docker_common_options }}" + environment: + RSYNC_CONNECT_PROG: "nc %H {{ swift_rsync_port }}" image: "{{ swift_account_image_full }}" name: "swift_account_replicator" volumes: @@ -127,6 +129,8 @@ kolla_docker: action: "start_container" common_options: "{{ docker_common_options }}" + environment: + RSYNC_CONNECT_PROG: "nc %H {{ swift_rsync_port }}" image: "{{ swift_container_image_full }}" name: "swift_container_replicator" volumes: