diff --git a/test/integration/targets/command_shell/tasks/main.yml b/test/integration/targets/command_shell/tasks/main.yml index d66525038c2..6cb1cd4445e 100644 --- a/test/integration/targets/command_shell/tasks/main.yml +++ b/test/integration/targets/command_shell/tasks/main.yml @@ -190,7 +190,7 @@ - name: verify that changed=false assert: - that: "! redundant_command_result.changed" + that: "redundant_command_result is not changed" - name: re-run previous command using creates with globbing (check mode) command: "{{ remote_tmp_dir_test }}/create_afile.sh {{ remote_tmp_dir_test }}/afile.txt" @@ -259,7 +259,7 @@ - name: verify that changed=false assert: - that: "! redundant_command_result.changed" + that: "redundant_command_result is not changed" - name: re-run previous command using removes with globbing (check mode) command: "{{ remote_tmp_dir_test }}/remove_afile.sh {{ remote_tmp_dir_test }}/afile.txt" @@ -337,7 +337,7 @@ - name: verify that changed=false assert: - that: "! redundant_command_result.changed" + that: "redundant_command_result is not changed" - name: re-run previous command using creates with globbing (check mode) command: touch {{ remote_tmp_dir_test }}/afile.txt {{ remote_tmp_dir_test }}/bfile.txt @@ -417,7 +417,7 @@ - name: verify that changed=false assert: - that: "! redundant_command_result.changed" + that: "redundant_command_result is not changed" - name: re-run previous command using removes with globbing (check mode) command: rm {{ remote_tmp_dir_test }}/afile.txt {{ remote_tmp_dir_test }}/bfile.txt