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:
name: "{{ item.name }}"
password: "{{ item.password }}"
state: "{{ item.state | default('present') }}"
with_items: "{{ postgres_users }}"
loop_control:
label: "{{ item.name }}"