fixed password update
This commit is contained in:
@@ -37,6 +37,7 @@
|
|||||||
name: "{{ item.name }}"
|
name: "{{ item.name }}"
|
||||||
groups: "{{ item.groups }}"
|
groups: "{{ item.groups }}"
|
||||||
password: "{{ lookup('community.general.random_string', min_lower=1, min_upper=1, min_special=1, min_numeric=1) }}"
|
password: "{{ lookup('community.general.random_string', min_lower=1, min_upper=1, min_special=1, min_numeric=1) }}"
|
||||||
|
update_password: on_create
|
||||||
loop:
|
loop:
|
||||||
- { name: "UserA", groups: "GroupA" }
|
- { name: "UserA", groups: "GroupA" }
|
||||||
- { name: "UserB", groups: "GroupB" }
|
- { name: "UserB", groups: "GroupB" }
|
||||||
|
|||||||
Reference in New Issue
Block a user