password generation now indempotent

This commit is contained in:
2020-10-08 16:32:02 +02:00
parent bb5f6e04f3
commit bcd008123e

View File

@@ -26,6 +26,7 @@
- name: create account
user:
name: ansible
password: "{{ '123Soleil%' | password_hash('sha512',65534|random(seed=inventory_hostname) | string) }}"
password: "{{ '123Soleil2020%' | password_hash('sha512') }}"
create_home: yes
home: /home/ansible