diff --git a/defaults/main.yml b/defaults/main.yml index d8197fa..f2478f4 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -19,5 +19,4 @@ enable_sudo: yes # Allow passwordless sudo (applied to group wheel) enable_passwordless_sudo: yes # Skip provisioning of the firewall -skip_firewall: no -authorized_keys_are_exclusive: false # Be careful, this will delete non-Ansible-managed authorized keys from the target! +skip_firewall: no \ No newline at end of file diff --git a/tasks/users.yml b/tasks/users.yml index 8dfd11a..3789a05 100644 --- a/tasks/users.yml +++ b/tasks/users.yml @@ -44,9 +44,8 @@ user: "{{ item }}" state: present key: "{{ lookup('file', 'public_keys/id_{{ item }}.pub') }}" - exclusive: "{{ authorized_keys_are_exclusive | bool }}" with_items: "{{ users }}" - ignore_errors: true + ignore_errors: yes - block: - name: 'Ensure that wheel group is existing'