aboutsummaryrefslogblamecommitdiffstats
path: root/roles/space_server/tasks/sudo.yml
blob: f5f04443063135a9f67b1863aed7ac82bd5a433c (plain) (tree)
1
2
3
4
5
6
7
8
9
10



                            
                  
       
            


                            
                        
                     

               



                           
---
- name: Install sudo package
  dnf:
    name: sudo
    state: present
  tags:
  - packages

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

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