mirror of
https://github.com/ansible/awx.git
synced 2026-04-04 17:55:06 -02:30
Update awx collection workflow nodes to look for type (#12597)
This commit is contained in:
@@ -110,6 +110,20 @@
|
||||
that:
|
||||
- "result is changed"
|
||||
|
||||
- name: Create a 3rd Demo Project in another org with inventory source name
|
||||
project:
|
||||
name: "{{ project_inv_source }}"
|
||||
organization: "{{ org_name }}"
|
||||
state: present
|
||||
scm_type: git
|
||||
scm_url: https://github.com/ansible/ansible-tower-samples.git
|
||||
scm_credential: "{{ scm_cred_name }}"
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
that:
|
||||
- "result is changed"
|
||||
|
||||
- name: Add an inventory
|
||||
inventory:
|
||||
description: Test inventory
|
||||
@@ -573,8 +587,8 @@
|
||||
- identifier: node202
|
||||
unified_job_template:
|
||||
organization:
|
||||
name: Default
|
||||
name: "{{ demo_project_name }}"
|
||||
name: "{{ org_name }}"
|
||||
name: "{{ project_inv_source }}"
|
||||
type: project
|
||||
- all_parents_must_converge: false
|
||||
identifier: node301
|
||||
@@ -586,7 +600,7 @@
|
||||
- identifier: Cleanup Job
|
||||
unified_job_template:
|
||||
name: Cleanup Activity Stream
|
||||
type: system_job
|
||||
type: system_job_template
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
@@ -761,6 +775,16 @@
|
||||
state: absent
|
||||
ignore_errors: True
|
||||
|
||||
- name: Delete the 3rd Demo Project
|
||||
project:
|
||||
name: "{{ project_inv_source }}"
|
||||
organization: "{{ org_name }}"
|
||||
scm_type: git
|
||||
scm_url: https://github.com/ansible/ansible-tower-samples.git
|
||||
scm_credential: "{{ scm_cred_name }}"
|
||||
state: absent
|
||||
ignore_errors: True
|
||||
|
||||
- name: Delete the SCM Credential
|
||||
credential:
|
||||
name: "{{ scm_cred_name }}"
|
||||
|
||||
Reference in New Issue
Block a user