Add a nonce command
Change-Id: I93301138890e2df0b550cddcf43f47c5e826a2f2
diff --git a/playbooks/setup-openstack-storpool/pre.yaml b/playbooks/setup-openstack-storpool/pre.yaml
index 458d8eb..5e501b2 100644
--- a/playbooks/setup-openstack-storpool/pre.yaml
+++ b/playbooks/setup-openstack-storpool/pre.yaml
@@ -344,7 +344,7 @@
- name: Provision StorPool Deployment Configuration 3
no_log: true
ansible.builtin.command:
- argv: [ "ssh", "-o", "StrictHostKeyChecking=accept-new", "{{ item }}" ]
+ argv: [ "ssh", "-o", "StrictHostKeyChecking=accept-new", "{{ item }}", "exit", "0" ]
loop:
- "{{ storpool_node_ip }}"
- "{{ openstack_node_ip }}"