diff --git a/roles/bootstrap/tasks/dnf.yml b/roles/bootstrap/tasks/dnf.yml index acaaeae..3c9744c 100644 --- a/roles/bootstrap/tasks/dnf.yml +++ b/roles/bootstrap/tasks/dnf.yml @@ -35,4 +35,4 @@ enabled: true when: - auto_update is defined - - auto_update is truthy(convert_bool=True) + - auto_update | bool diff --git a/roles/create-user/tasks/main.yml b/roles/create-user/tasks/main.yml index 15362ac..cfda9e7 100644 --- a/roles/create-user/tasks/main.yml +++ b/roles/create-user/tasks/main.yml @@ -32,7 +32,6 @@ - name: "Copy '~/.ssh/id_*.pub' (on controller) to authorized_keys for '{{ create_username }}'" tags: ['keys'] - become: true ansible.posix.authorized_key: user: "{{ create_username }}" state: present