Generate uuid from time by default for vault roles
This commit is contained in:
parent
8ae77e955e
commit
2b648dea7f
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@
|
||||||
- include: gen_userpass.yml
|
- include: gen_userpass.yml
|
||||||
vars:
|
vars:
|
||||||
gen_userpass_group: "{{ create_role_group }}"
|
gen_userpass_group: "{{ create_role_group }}"
|
||||||
gen_userpass_password: "{{ create_role_password|d(''|to_uuid) }}"
|
gen_userpass_password: "{{ create_role_password|d(lookup('pipe','date +%Y%m%d%H%M%S')|to_uuid) }}"
|
||||||
gen_userpass_policies: "{{ create_role_name }}"
|
gen_userpass_policies: "{{ create_role_name }}"
|
||||||
gen_userpass_role: "{{ create_role_name }}"
|
gen_userpass_role: "{{ create_role_name }}"
|
||||||
gen_userpass_username: "{{ create_role_name }}"
|
gen_userpass_username: "{{ create_role_name }}"
|
||||||
|
|
Loading…
Reference in a new issue