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