fix idempotency
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
fc634c7413
commit
4c5eb8dd80
|
@ -11,7 +11,7 @@
|
||||||
name: "{{ item.name }}"
|
name: "{{ item.name }}"
|
||||||
groups: "{{ item.groups | default([]) | join(',') or omit }}"
|
groups: "{{ item.groups | default([]) | join(',') or omit }}"
|
||||||
append: yes
|
append: yes
|
||||||
password: "{{ item.password | default(omit) | password_hash('sha512',65534 | random(seed=inventory_hostname) | string) }}"
|
password: "{{ item.password | password_hash('sha512',65534 | random(seed=inventory_hostname) | string) if item.password is defined else omit }}"
|
||||||
shell: "{{ item.shell | default('/bin/bash') }}"
|
shell: "{{ item.shell | default('/bin/bash') }}"
|
||||||
loop: "{{ users_default_users }}"
|
loop: "{{ users_default_users }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
|
|
Loading…
Reference in New Issue