aboutsummaryrefslogtreecommitdiffstats
path: root/roles/space_server/tasks/sudo.yml
blob: 9db1d55a936db8710965c009769e30240b02097a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
- name: Install sudo package
  dnf:
    name: sudo
    state: present
  tags:
  - packages

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

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