mirror of
https://github.com/ansible/awx.git
synced 2026-05-20 07:17:40 -02:30
Merge pull request #6965 from beeankha/jt_integration_test_edit
Update JT Integration Test Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
@@ -13,7 +13,7 @@
|
|||||||
jt2: "AWX-Collection-tests-tower_job_template-jt2-{{ test_id }}"
|
jt2: "AWX-Collection-tests-tower_job_template-jt2-{{ test_id }}"
|
||||||
lab1: "AWX-Collection-tests-tower_job_template-lab1-{{ test_id }}"
|
lab1: "AWX-Collection-tests-tower_job_template-lab1-{{ test_id }}"
|
||||||
email_not: "AWX-Collection-tests-tower_job_template-email-not-{{ test_id }}"
|
email_not: "AWX-Collection-tests-tower_job_template-email-not-{{ test_id }}"
|
||||||
webhook_not: "AWX-Collection-tests-tower_notification-wehbook-not-{{ lookup('password', '/dev/null chars=ascii_letters length=16') }}"
|
webhook_not: "AWX-Collection-tests-tower_notification-wehbook-not-{{ test_id }}"
|
||||||
|
|
||||||
- name: Create a Demo Project
|
- name: Create a Demo Project
|
||||||
tower_project:
|
tower_project:
|
||||||
@@ -75,10 +75,6 @@
|
|||||||
state: present
|
state: present
|
||||||
register: result
|
register: result
|
||||||
|
|
||||||
- assert:
|
|
||||||
that:
|
|
||||||
- result is changed
|
|
||||||
|
|
||||||
- name: Create Job Template 1
|
- name: Create Job Template 1
|
||||||
tower_job_template:
|
tower_job_template:
|
||||||
name: "{{ jt1 }}"
|
name: "{{ jt1 }}"
|
||||||
@@ -374,3 +370,9 @@
|
|||||||
name: "{{ email_not }}"
|
name: "{{ email_not }}"
|
||||||
organization: Default
|
organization: Default
|
||||||
state: absent
|
state: absent
|
||||||
|
|
||||||
|
- name: Delete webhook notification
|
||||||
|
tower_notification:
|
||||||
|
name: "{{ webhook_not }}"
|
||||||
|
organization: Default
|
||||||
|
state: absent
|
||||||
|
|||||||
Reference in New Issue
Block a user