roles/sudo/tasks/main.yml

Mon, 22 Oct 2018 20:52:32 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 22 Oct 2018 20:52:32 -0500
changeset 84
fdaa84bcac9c
parent 17
d0d9fdf1f9d3
child 89
86248a83a3dd
permissions
-rw-r--r--

add apt-transport-https just in case

---

- 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