mirror of
https://github.com/ansible/awx.git
synced 2026-05-11 03:17:38 -02:30
add new name to multiple modules
This commit is contained in:
committed by
sean-m-sullivan
parent
03ed6e9755
commit
bb8efbcc82
@@ -66,6 +66,18 @@
|
||||
that:
|
||||
- "result is changed"
|
||||
|
||||
- name: Rename an inventory
|
||||
application:
|
||||
name: "{{ app3_name }}"
|
||||
new_name: "{{ app3_name }}a"
|
||||
organization: Default
|
||||
state: present
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
that:
|
||||
- result.changed
|
||||
|
||||
always:
|
||||
- name: Delete our application
|
||||
application:
|
||||
@@ -77,3 +89,4 @@
|
||||
- "{{ app1_name }}"
|
||||
- "{{ app2_name }}"
|
||||
- "{{ app3_name }}"
|
||||
- "{{ app3_name }}a"
|
||||
|
||||
Reference in New Issue
Block a user