diff --git a/awx_collection/tests/integration/targets/tower_ad_hoc_command/tasks/main.yml b/awx_collection/tests/integration/targets/tower_ad_hoc_command/tasks/main.yml index af9045ef88..9fa3d47ad2 100644 --- a/awx_collection/tests/integration/targets/tower_ad_hoc_command/tasks/main.yml +++ b/awx_collection/tests/integration/targets/tower_ad_hoc_command/tasks/main.yml @@ -1,12 +1,12 @@ --- -#- name: Generate a random string for test -# set_fact: -# test_id: "{{ lookup('password', '/dev/null chars=ascii_letters length=16') }}" -# when: test_id is not defined +# - name: Generate a random string for test +# set_fact: +# test_id: "{{ lookup('password', '/dev/null chars=ascii_letters length=16') }}" +# when: test_id is not defined -#- name: Generate names -# set_fact: -# proj_name: "AWX-Collection-tests-tower_job_launch-project-{{ lookup('password', '/dev/null chars=ascii_letters length=16') }}" +# - name: Generate names +# set_fact: +# proj_name: "AWX-Collection-tests-tower_job_launch-project-{{ lookup('password', '/dev/null chars=ascii_letters length=16') }}" - name: Launch an Ad Hoc Command waiting for it to finish tower_ad_hoc_command: @@ -14,7 +14,7 @@ credential: "Demo Credential" module_name: "command" module_args: "echo I<3 Ansible" - wait: True + wait: true register: result - assert: diff --git a/awx_collection/tests/integration/targets/tower_ad_hoc_command_cancel/tasks/main.yml b/awx_collection/tests/integration/targets/tower_ad_hoc_command_cancel/tasks/main.yml index e47d25c3cd..0cbc583ac3 100644 --- a/awx_collection/tests/integration/targets/tower_ad_hoc_command_cancel/tasks/main.yml +++ b/awx_collection/tests/integration/targets/tower_ad_hoc_command_cancel/tasks/main.yml @@ -1,12 +1,12 @@ --- -#- name: Generate a random string for test -# set_fact: -# test_id: "{{ lookup('password', '/dev/null chars=ascii_letters length=16') }}" -# when: test_id is not defined +# - name: Generate a random string for test +# set_fact: +# test_id: "{{ lookup('password', '/dev/null chars=ascii_letters length=16') }}" +# when: test_id is not defined -#- name: Generate names -# set_fact: -# proj_name: "AWX-Collection-tests-tower_job_launch-project-{{ lookup('password', '/dev/null chars=ascii_letters length=16') }}" +# - name: Generate names +# set_fact: +# proj_name: "AWX-Collection-tests-tower_job_launch-project-{{ lookup('password', '/dev/null chars=ascii_letters length=16') }}" - name: Launch an Ad Hoc Command tower_ad_hoc_command: diff --git a/awx_collection/tests/integration/targets/tower_ad_hoc_command_wait/tasks/main.yml b/awx_collection/tests/integration/targets/tower_ad_hoc_command_wait/tasks/main.yml index d6750e2c9a..babaca0bfc 100644 --- a/awx_collection/tests/integration/targets/tower_ad_hoc_command_wait/tasks/main.yml +++ b/awx_collection/tests/integration/targets/tower_ad_hoc_command_wait/tasks/main.yml @@ -1,12 +1,12 @@ --- -#- name: Generate a random string for test -# set_fact: -# test_id: "{{ lookup('password', '/dev/null chars=ascii_letters length=16') }}" -# when: test_id is not defined +# - name: Generate a random string for test +# set_fact: +# test_id: "{{ lookup('password', '/dev/null chars=ascii_letters length=16') }}" +# when: test_id is not defined -#- name: Generate names -# set_fact: -# proj_name: "AWX-Collection-tests-tower_job_launch-project-{{ lookup('password', '/dev/null chars=ascii_letters length=16') }}" +# - name: Generate names +# set_fact: +# proj_name: "AWX-Collection-tests-tower_job_launch-project-{{ lookup('password', '/dev/null chars=ascii_letters length=16') }}" - name: Check module fails with correct msg tower_ad_hoc_command_wait: