diff --git a/tasks/users.yml b/tasks/users.yml index 3789a05..8dfd11a 100644 --- a/tasks/users.yml +++ b/tasks/users.yml @@ -44,8 +44,9 @@ user: "{{ item }}" state: present key: "{{ lookup('file', 'public_keys/id_{{ item }}.pub') }}" + exclusive: "{{ authorized_keys_are_exclusive | bool }}" with_items: "{{ users }}" - ignore_errors: yes + ignore_errors: true - block: - name: 'Ensure that wheel group is existing'