Update JT integration test

This commit is contained in:
beeankha 2020-05-07 12:02:08 -04:00
parent b9e45e62c0
commit c6d77a1183

View File

@ -13,7 +13,7 @@
jt2: "AWX-Collection-tests-tower_job_template-jt2-{{ test_id }}"
lab1: "AWX-Collection-tests-tower_job_template-lab1-{{ 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
tower_project:
@ -75,10 +75,6 @@
state: present
register: result
- assert:
that:
- result is changed
- name: Create Job Template 1
tower_job_template:
name: "{{ jt1 }}"
@ -374,3 +370,9 @@
name: "{{ email_not }}"
organization: Default
state: absent
- name: Delete webhook notification
tower_notification:
name: "{{ webhook_not }}"
organization: Default
state: absent