roles/sudo/tasks/main.yml@33181d87b149
roles/sudo/tasks/main.yml
Fri, 23 Jun 2017 16:37:07 -0400
- author
- Meredith Howard <mhoward@roomag.org>
- date
- Fri, 23 Jun 2017 16:37:07 -0400
- changeset 72
- 33181d87b149
- parent 17
-
d0d9fdf1f9d3
- child 89
-
86248a83a3dd
- permissions
- -rw-r--r--
disable stock users (pi, pine64, etc)
---
- package:
name: sudo
state: latest
tags: packages, install
- name: sudo group
group:
name: sudo
state: present
system: yes
- name: sudo permission for sudoers
lineinfile:
dest: /etc/sudoers
state: present
regexp: '^%sudo'
line: '%sudo ALL=(ALL:ALL) ALL'