mirror of
https://github.com/ansible/awx.git
synced 2026-05-09 10:27:37 -02:30
add new name to multiple modules
This commit is contained in:
committed by
sean-m-sullivan
parent
03ed6e9755
commit
bb8efbcc82
@@ -34,14 +34,28 @@
|
||||
that:
|
||||
- "result is failed"
|
||||
|
||||
always:
|
||||
- name: Delete the Test EE
|
||||
- name: Rename the Test EEs
|
||||
execution_environment:
|
||||
name: "{{ ee_name }}"
|
||||
state: absent
|
||||
new_name: "{{ ee_name }}a"
|
||||
image: quay.io/ansible/awx-ee
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
that:
|
||||
- "result is changed"
|
||||
|
||||
always:
|
||||
- name: Delete the Test EEs
|
||||
execution_environment:
|
||||
name: "{{ item }}"
|
||||
state: absent
|
||||
image: quay.io/ansible/awx-ee
|
||||
register: result
|
||||
loop:
|
||||
- "{{ ee_name }}"
|
||||
- "{{ ee_name }}a"
|
||||
|
||||
- assert:
|
||||
that:
|
||||
- "result is changed"
|
||||
|
||||
Reference in New Issue
Block a user