diff --git a/roles/common/tasks/user-ops.yaml b/roles/common/tasks/user-ops.yaml index 2f3abcd..dd487bc 100644 --- a/roles/common/tasks/user-ops.yaml +++ b/roles/common/tasks/user-ops.yaml @@ -46,7 +46,7 @@ lineinfile: state: present path: /etc/sudoers - line: "ansible ALL=(ALL:ALL) NOPASSWD" + line: "ansible ALL=(ALL:ALL) NOPASSWD:ALL" when: checkallowusers.found == 0 - name: "Update authorized_keys of tormakris"