add new name to multiple modules

This commit is contained in:
sean-m-ssullivan
2021-11-22 12:53:27 -05:00
committed by sean-m-sullivan
parent 03ed6e9755
commit bb8efbcc82
17 changed files with 172 additions and 34 deletions

View File

@@ -70,9 +70,19 @@
name: "{{ group_name1 }}"
state: absent
- name: "Remove the organization"
- name: "Rename the organization"
organization:
name: "{{ org_name }}"
new_name: "{{ org_name }}a"
register: result
- assert:
that:
- "result is changed"
- name: "Remove the organization"
organization:
name: "{{ org_name }}a"
state: absent
register: result