Use shell instead of command for rfs-sync setup
The command module doesn't understand the pipefail setting used for piping a response to the rfs-sync setup script. Change-Id: Ifb1e70d47f312f44abd603f21ce6fbf8733d9dc4
This commit is contained in:
parent
b39d08608f
commit
ed676be778
@ -100,7 +100,7 @@
|
|||||||
var: enquiry
|
var: enquiry
|
||||||
|
|
||||||
- name: Set up rfs_sync
|
- name: Set up rfs_sync
|
||||||
ansible.builtin.command: set -o pipefail && echo "yes" | /opt/nfast/bin/rfs-sync --setup {{ thales_rfs_server_ip_address }}
|
ansible.builtin.shell: set -o pipefail && echo "yes" | /opt/nfast/bin/rfs-sync --setup {{ thales_rfs_server_ip_address }}
|
||||||
|
|
||||||
- name: Get keys from rfs server
|
- name: Get keys from rfs server
|
||||||
ansible.builtin.command: /opt/nfast/bin/rfs-sync --update
|
ansible.builtin.command: /opt/nfast/bin/rfs-sync --update
|
||||||
|
Loading…
Reference in New Issue
Block a user