From 51829bd25cbd1ea30799f087887e1fb1f9f3792d Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Mon, 27 May 2019 22:10:51 +0100 Subject: [PATCH] Give user sudo access --- tasks/user.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tasks/user.yml b/tasks/user.yml index a9d2c98..5612585 100644 --- a/tasks/user.yml +++ b/tasks/user.yml @@ -11,3 +11,8 @@ - users - video - wheel + +- name: Give user sudo access + lineinfile: + path: /etc/sudoers + line: "{{ user }} ALL=(ALL) ALL"