mirror of
https://github.com/ansible/awx.git
synced 2026-05-11 19:37:38 -02:30
Fixing linting
This commit is contained in:
@@ -1,12 +1,12 @@
|
|||||||
---
|
---
|
||||||
#- name: Generate a random string for test
|
# - name: Generate a random string for test
|
||||||
# set_fact:
|
# set_fact:
|
||||||
# test_id: "{{ lookup('password', '/dev/null chars=ascii_letters length=16') }}"
|
# test_id: "{{ lookup('password', '/dev/null chars=ascii_letters length=16') }}"
|
||||||
# when: test_id is not defined
|
# when: test_id is not defined
|
||||||
|
|
||||||
#- name: Generate names
|
# - name: Generate names
|
||||||
# set_fact:
|
# set_fact:
|
||||||
# proj_name: "AWX-Collection-tests-tower_job_launch-project-{{ lookup('password', '/dev/null chars=ascii_letters length=16') }}"
|
# 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
|
- name: Launch an Ad Hoc Command waiting for it to finish
|
||||||
tower_ad_hoc_command:
|
tower_ad_hoc_command:
|
||||||
@@ -14,7 +14,7 @@
|
|||||||
credential: "Demo Credential"
|
credential: "Demo Credential"
|
||||||
module_name: "command"
|
module_name: "command"
|
||||||
module_args: "echo I<3 Ansible"
|
module_args: "echo I<3 Ansible"
|
||||||
wait: True
|
wait: true
|
||||||
register: result
|
register: result
|
||||||
|
|
||||||
- assert:
|
- assert:
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
---
|
---
|
||||||
#- name: Generate a random string for test
|
# - name: Generate a random string for test
|
||||||
# set_fact:
|
# set_fact:
|
||||||
# test_id: "{{ lookup('password', '/dev/null chars=ascii_letters length=16') }}"
|
# test_id: "{{ lookup('password', '/dev/null chars=ascii_letters length=16') }}"
|
||||||
# when: test_id is not defined
|
# when: test_id is not defined
|
||||||
|
|
||||||
#- name: Generate names
|
# - name: Generate names
|
||||||
# set_fact:
|
# set_fact:
|
||||||
# proj_name: "AWX-Collection-tests-tower_job_launch-project-{{ lookup('password', '/dev/null chars=ascii_letters length=16') }}"
|
# proj_name: "AWX-Collection-tests-tower_job_launch-project-{{ lookup('password', '/dev/null chars=ascii_letters length=16') }}"
|
||||||
|
|
||||||
- name: Launch an Ad Hoc Command
|
- name: Launch an Ad Hoc Command
|
||||||
tower_ad_hoc_command:
|
tower_ad_hoc_command:
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
---
|
---
|
||||||
#- name: Generate a random string for test
|
# - name: Generate a random string for test
|
||||||
# set_fact:
|
# set_fact:
|
||||||
# test_id: "{{ lookup('password', '/dev/null chars=ascii_letters length=16') }}"
|
# test_id: "{{ lookup('password', '/dev/null chars=ascii_letters length=16') }}"
|
||||||
# when: test_id is not defined
|
# when: test_id is not defined
|
||||||
|
|
||||||
#- name: Generate names
|
# - name: Generate names
|
||||||
# set_fact:
|
# set_fact:
|
||||||
# proj_name: "AWX-Collection-tests-tower_job_launch-project-{{ lookup('password', '/dev/null chars=ascii_letters length=16') }}"
|
# 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
|
- name: Check module fails with correct msg
|
||||||
tower_ad_hoc_command_wait:
|
tower_ad_hoc_command_wait:
|
||||||
|
|||||||
Reference in New Issue
Block a user