Suppress rsync warnings w/command
Ansible throws warnings when we use rsync with the command module. This patch suppresses those warnings. Change-Id: I42652318f128120b1ecec4781066c89ee9023636
This commit is contained in:
parent
38c6379524
commit
20801aa010
@ -25,6 +25,8 @@
|
||||
rsync -e 'ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no'
|
||||
-avz {{ swift_system_user_name }}@{{ hostvars[groups['swift_hosts'][0]]['ansible_host'] }}:/etc/swift/ring_build_files/
|
||||
/etc/swift/
|
||||
args:
|
||||
warn: no
|
||||
become: yes
|
||||
become_user: "{{ swift_system_user_name }}"
|
||||
changed_when: false
|
||||
@ -38,6 +40,8 @@
|
||||
rsync -e 'ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no'
|
||||
-avz {{ swift_system_user_name }}@{{ hostvars[groups['swift_hosts'][0]]['ansible_host'] }}:/etc/swift/ring_build_files/
|
||||
/etc/swift/ring_build_files/
|
||||
args:
|
||||
warn: no
|
||||
become: yes
|
||||
become_user: "{{ swift_system_user_name }}"
|
||||
changed_when: false
|
||||
|
Loading…
Reference in New Issue
Block a user