mirror of
https://github.com/ansible/awx.git
synced 2026-03-09 05:29:26 -02:30
Stop using the bulky test-playbooks in tests where possible
This commit is contained in:
@@ -34,7 +34,7 @@
|
|||||||
name: "{{ project_name }}"
|
name: "{{ project_name }}"
|
||||||
organization: Default
|
organization: Default
|
||||||
scm_type: git
|
scm_type: git
|
||||||
scm_url: https://github.com/ansible/test-playbooks
|
scm_url: https://github.com/ansible/ansible-tower-samples
|
||||||
wait: true
|
wait: true
|
||||||
|
|
||||||
- name: Create an Inventory
|
- name: Create an Inventory
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
name: "{{ project_name1 }}"
|
name: "{{ project_name1 }}"
|
||||||
organization: Default
|
organization: Default
|
||||||
scm_type: git
|
scm_type: git
|
||||||
scm_url: https://github.com/ansible/test-playbooks
|
scm_url: https://github.com/ansible/ansible-tower-samples
|
||||||
wait: true
|
wait: true
|
||||||
register: result
|
register: result
|
||||||
|
|
||||||
@@ -44,7 +44,7 @@
|
|||||||
name: "{{ project_name1 }}"
|
name: "{{ project_name1 }}"
|
||||||
organization: Default
|
organization: Default
|
||||||
scm_type: git
|
scm_type: git
|
||||||
scm_url: https://github.com/ansible/test-playbooks
|
scm_url: https://github.com/ansible/ansible-tower-samples
|
||||||
wait: true
|
wait: true
|
||||||
state: exists
|
state: exists
|
||||||
register: result
|
register: result
|
||||||
@@ -58,7 +58,7 @@
|
|||||||
name: "{{ project_name1 }}"
|
name: "{{ project_name1 }}"
|
||||||
organization: Default
|
organization: Default
|
||||||
scm_type: git
|
scm_type: git
|
||||||
scm_url: https://github.com/ansible/test-playbooks
|
scm_url: https://github.com/ansible/ansible-tower-samples
|
||||||
wait: true
|
wait: true
|
||||||
state: exists
|
state: exists
|
||||||
request_timeout: .001
|
request_timeout: .001
|
||||||
@@ -75,7 +75,7 @@
|
|||||||
name: "{{ project_name1 }}"
|
name: "{{ project_name1 }}"
|
||||||
organization: Default
|
organization: Default
|
||||||
scm_type: git
|
scm_type: git
|
||||||
scm_url: https://github.com/ansible/test-playbooks
|
scm_url: https://github.com/ansible/ansible-tower-samples
|
||||||
wait: true
|
wait: true
|
||||||
state: absent
|
state: absent
|
||||||
register: result
|
register: result
|
||||||
@@ -89,7 +89,7 @@
|
|||||||
name: "{{ project_name1 }}"
|
name: "{{ project_name1 }}"
|
||||||
organization: Default
|
organization: Default
|
||||||
scm_type: git
|
scm_type: git
|
||||||
scm_url: https://github.com/ansible/test-playbooks
|
scm_url: https://github.com/ansible/ansible-tower-samples
|
||||||
wait: true
|
wait: true
|
||||||
state: exists
|
state: exists
|
||||||
register: result
|
register: result
|
||||||
@@ -103,7 +103,7 @@
|
|||||||
name: "{{ project_name1 }}"
|
name: "{{ project_name1 }}"
|
||||||
organization: Default
|
organization: Default
|
||||||
scm_type: git
|
scm_type: git
|
||||||
scm_url: https://github.com/ansible/test-playbooks
|
scm_url: https://github.com/ansible/ansible-tower-samples
|
||||||
wait: false
|
wait: false
|
||||||
register: result
|
register: result
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
@@ -137,7 +137,7 @@
|
|||||||
name: "{{ project_name2 }}"
|
name: "{{ project_name2 }}"
|
||||||
organization: "{{ org_name }}"
|
organization: "{{ org_name }}"
|
||||||
scm_type: git
|
scm_type: git
|
||||||
scm_url: https://github.com/ansible/test-playbooks
|
scm_url: https://github.com/ansible/ansible-tower-samples
|
||||||
scm_credential: "{{ cred_name }}"
|
scm_credential: "{{ cred_name }}"
|
||||||
check_mode: true
|
check_mode: true
|
||||||
|
|
||||||
@@ -162,7 +162,7 @@
|
|||||||
name: "{{ project_name2 }}"
|
name: "{{ project_name2 }}"
|
||||||
organization: Non_Existing_Org
|
organization: Non_Existing_Org
|
||||||
scm_type: git
|
scm_type: git
|
||||||
scm_url: https://github.com/ansible/test-playbooks
|
scm_url: https://github.com/ansible/ansible-tower-samples
|
||||||
scm_credential: "{{ cred_name }}"
|
scm_credential: "{{ cred_name }}"
|
||||||
register: result
|
register: result
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
@@ -179,7 +179,7 @@
|
|||||||
name: "{{ project_name2 }}"
|
name: "{{ project_name2 }}"
|
||||||
organization: "{{ org_name }}"
|
organization: "{{ org_name }}"
|
||||||
scm_type: git
|
scm_type: git
|
||||||
scm_url: https://github.com/ansible/test-playbooks
|
scm_url: https://github.com/ansible/ansible-tower-samples
|
||||||
scm_credential: Non_Existing_Credential
|
scm_credential: Non_Existing_Credential
|
||||||
register: result
|
register: result
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
@@ -197,7 +197,7 @@
|
|||||||
organization: Default
|
organization: Default
|
||||||
scm_type: git
|
scm_type: git
|
||||||
scm_branch: empty_branch
|
scm_branch: empty_branch
|
||||||
scm_url: https://github.com/ansible/test-playbooks
|
scm_url: https://github.com/ansible/ansible-tower-samples
|
||||||
allow_override: true
|
allow_override: true
|
||||||
register: result
|
register: result
|
||||||
|
|
||||||
@@ -211,7 +211,7 @@
|
|||||||
organization: Default
|
organization: Default
|
||||||
scm_type: git
|
scm_type: git
|
||||||
scm_branch: empty_branch
|
scm_branch: empty_branch
|
||||||
scm_url: https://github.com/ansible/test-playbooks
|
scm_url: https://github.com/ansible/ansible-tower-samples
|
||||||
allow_override: true
|
allow_override: true
|
||||||
wait: true
|
wait: true
|
||||||
update_project: true
|
update_project: true
|
||||||
@@ -264,7 +264,7 @@
|
|||||||
name: "{{ project_name3 }}"
|
name: "{{ project_name3 }}"
|
||||||
organization: Default
|
organization: Default
|
||||||
scm_type: archive
|
scm_type: archive
|
||||||
scm_url: https://github.com/ansible/test-playbooks/archive/refs/tags/1.0.0.tar.gz
|
scm_url: https://github.com/ansible/ansible-tower-samples/archive/refs/tags/1.0.0.tar.gz
|
||||||
wait: true
|
wait: true
|
||||||
update_project: true
|
update_project: true
|
||||||
register: result
|
register: result
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
name: "{{ project_name1 }}"
|
name: "{{ project_name1 }}"
|
||||||
organization: Default
|
organization: Default
|
||||||
scm_type: git
|
scm_type: git
|
||||||
scm_url: https://github.com/ansible/test-playbooks
|
scm_url: https://github.com/ansible/ansible-tower-samples
|
||||||
wait: false
|
wait: false
|
||||||
register: project_create_result
|
register: project_create_result
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user