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:
Douglas Mendizábal 2023-10-06 14:13:54 -04:00
parent b39d08608f
commit ed676be778
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@
var: enquiry
- 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
ansible.builtin.command: /opt/nfast/bin/rfs-sync --update