mirror of
https://github.com/ansible/awx.git
synced 2026-05-20 15:27:47 -02:30
add new name to multiple modules
This commit is contained in:
committed by
sean-m-sullivan
parent
03ed6e9755
commit
bb8efbcc82
@@ -74,9 +74,21 @@
|
||||
that:
|
||||
- result.copied
|
||||
|
||||
- name: Delete an Inventory
|
||||
- name: Rename an inventory
|
||||
inventory:
|
||||
name: "copy_{{ inv_name1 }}"
|
||||
new_name: "copy_{{ inv_name1 }}a"
|
||||
organization: Default
|
||||
state: present
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
that:
|
||||
- result.changed
|
||||
|
||||
- name: Delete an Inventory
|
||||
inventory:
|
||||
name: "copy_{{ inv_name1 }}a"
|
||||
organization: Default
|
||||
state: absent
|
||||
register: result
|
||||
|
||||
Reference in New Issue
Block a user