aboutsummaryrefslogblamecommitdiffstats
path: root/roles/debian/tasks/sudo.yml
blob: e52e1f6d128dff597f2b91a386f6b9d2a1175df2 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















                           
---
- name: Install sudo
  apt:
    name: sudo
    state: present
  tags:
  - packages

- name: Configure sudo
  copy:
    dest: '/etc/sudoers'
    src: sudoers
    owner: root
    group: root
    mode: 0440
    validate: visudo -cf %s

# vim: set ts=2 sw=2 et: