roles/sudo/tasks/main.yml

Fri, 16 Aug 2019 19:07:18 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 16 Aug 2019 19:07:18 -0400
changeset 94
3879346354aa
parent 89
86248a83a3dd
permissions
-rw-r--r--

Update README.md

---

- name: sudo package
  package:
    name: sudo
    state: present
  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