add state to pam users

This commit is contained in:
Robert Kaussow 2018-10-22 22:35:27 +02:00
parent 42e00014c8
commit f879f6fb2c

View File

@ -11,6 +11,7 @@
user: user:
name: "{{ item.name }}" name: "{{ item.name }}"
password: "{{ item.password }}" password: "{{ item.password }}"
state: "{{ item.state | default('present') }}"
with_items: "{{ postgres_users }}" with_items: "{{ postgres_users }}"
loop_control: loop_control:
label: "{{ item.name }}" label: "{{ item.name }}"