From ed676be778f5ad8b9c2ef28ce69e3d9123cb9a70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Douglas=20Mendiz=C3=A1bal?= Date: Fri, 6 Oct 2023 14:13:54 -0400 Subject: [PATCH] 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 --- tasks/client.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/client.yaml b/tasks/client.yaml index d6f26b5..6fabc26 100644 --- a/tasks/client.yaml +++ b/tasks/client.yaml @@ -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