Allow rc 1
This commit is contained in:
parent
33c9032340
commit
7590a936ba
1 changed files with 3 additions and 1 deletions
|
@ -6,6 +6,8 @@
|
||||||
- name: Set user accounts password
|
- name: Set user accounts password
|
||||||
shell: "dbmail-users -c {{ item.username }} -w {{ item.password}} -p {{ item.password_type | default('sha512') }}"
|
shell: "dbmail-users -c {{ item.username }} -w {{ item.password}} -p {{ item.password_type | default('sha512') }}"
|
||||||
loop: "{{ dbmail_users }}"
|
loop: "{{ dbmail_users }}"
|
||||||
|
register: result
|
||||||
|
changed_when: result.rc < 2
|
||||||
|
|
||||||
- name: Link user accounts with emails
|
- name: Link user accounts with emails
|
||||||
shell: "dbmail-users -c {{ item.username }} -s {{ item.email }}"
|
shell: "dbmail-users -c {{ item.username }} -s {{ item.email }}"
|
||||||
|
|
Loading…
Reference in a new issue