Generate uuid from time by default for vault roles

This commit is contained in:
mkrasilnikov 2017-09-01 19:02:36 +03:00
parent 8ae77e955e
commit 2b648dea7f

View file

@ -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 }}"