roles/sudo/tasks/main.yml

Sun, 14 Jul 2019 02:45:55 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 14 Jul 2019 02:45:55 -0500
changeset 88
3dbfd253c775
parent 17
d0d9fdf1f9d3
child 89
86248a83a3dd
permissions
-rw-r--r--

separate disable_stock_users role

---

- 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'

mercurial