We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 35a1865 + 121d8df commit 9ff2b92Copy full SHA for 9ff2b92
roles/splunk/tasks/configure_idxc_sh.yml
@@ -4,10 +4,10 @@
4
become: true
5
become_user: "{{ splunk_nix_user }}"
6
register: idxc_sh_join_result
7
- changed_when: idxc_sh_join_result == 0
8
- failed_when: idxc_sh_join_result != 0
+ changed_when: idxc_sh_join_result.rc == 0
+ failed_when: idxc_sh_join_result.rc != 0
9
notify: restart splunk
10
no_log: true
11
- until: idxc_sh_join_result == 0
+ until: idxc_sh_join_result.rc == 0
12
retries: 6
13
delay: 5
0 commit comments