roles/sudo/tasks/main.yml

Fri, 16 Aug 2019 21:09:01 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 16 Aug 2019 21:09:01 -0400
changeset 96
a0ea6b72d9ed
parent 89
86248a83a3dd
permissions
-rw-r--r--

this is all redundant now

---

- 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