diff --git a/tasks/users.yml b/tasks/users.yml index 5c38204..f3a88b9 100644 --- a/tasks/users.yml +++ b/tasks/users.yml @@ -35,8 +35,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 - name: 'Ensure that wheel group is existing' group: