roles/sudo/tasks/main.yml

Thu, 15 Jun 2017 06:36:18 +0000

author
Meredith <mhoward@roomag.org>
date
Thu, 15 Jun 2017 06:36:18 +0000
changeset 61
c58e9f53dbec
parent 17
d0d9fdf1f9d3
child 89
86248a83a3dd
permissions
-rw-r--r--

edited

---

- 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