Commit adff2c60 authored by Mattia Rizzolo's avatar Mattia Rizzolo

common/users: default state for ssh keys is 'present'

Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parent f6aaf735
......@@ -47,7 +47,7 @@
user: "{{ item.0.name }}"
key: "{{ item.1.key }}"
comment: "{{ item.1.comment | default(None) }}"
state: "{{ item.1.state }}"
state: "{{ item.1.state | default('present') }}"
path: /etc/ssh/authorized_keys/{{ item.0.name }}
manage_dir: no
with_subelements:
......@@ -59,7 +59,7 @@
user: manager
key: "{{ item.1.key }}"
comment: "{{ item.1.comment | default(None) }}"
state: "{{ item.1.state }}"
state: "{{ item.1.state | default('present') }}"
path: /etc/ssh/authorized_keys/manager
manage_dir: no
with_subelements:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment