mirror of
https://github.com/ansible/awx.git
synced 2026-05-20 07:17:40 -02:30
add new name to multiple modules
This commit is contained in:
committed by
sean-m-sullivan
parent
03ed6e9755
commit
bb8efbcc82
@@ -183,6 +183,18 @@
|
||||
that:
|
||||
- job is successful
|
||||
|
||||
- name: Rename an inventory
|
||||
project:
|
||||
name: "{{ project_name3 }}"
|
||||
new_name: "{{ project_name3 }}a"
|
||||
organization: Default
|
||||
state: present
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
that:
|
||||
- result.changed
|
||||
|
||||
always:
|
||||
- name: Delete the test job_template
|
||||
job_template:
|
||||
@@ -197,6 +209,12 @@
|
||||
organization: Default
|
||||
state: absent
|
||||
|
||||
- name: Delete the test project 3a
|
||||
project:
|
||||
name: "{{ project_name3 }}a"
|
||||
organization: Default
|
||||
state: absent
|
||||
|
||||
- name: Delete the test project 2
|
||||
project:
|
||||
name: "{{ project_name2 }}"
|
||||
|
||||
Reference in New Issue
Block a user