|
@@ -1,7 +1,7 @@ |
|
|
--- |
|
|
--- |
|
|
|
|
|
|
|
|
- name: move group |
|
|
- name: move group |
|
|
command: "groupmod --login {{ item }} {{ users[item].old_name }}" |
|
|
|
|
|
|
|
|
command: "groupmod --new-name {{ item }} {{ users[item].old_name }}" |
|
|
loop: "{{ users.keys() | list }}" |
|
|
loop: "{{ users.keys() | list }}" |
|
|
when: users[item].old_name is defined |
|
|
when: users[item].old_name is defined |
|
|
failed_when: false |
|
|
failed_when: false |
|
|