mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-12-08 02:16:04 +00:00
19 lines
360 B
YAML
19 lines
360 B
YAML
- name: create backup user
|
|
user:
|
|
name: backup
|
|
create_home: yes
|
|
|
|
- name: grant backup sudo rights
|
|
copy:
|
|
src: "backup"
|
|
dest: /etc/sudoers.d/backup
|
|
mode: '0644'
|
|
owner: root
|
|
group: root
|
|
notify: sshd restart
|
|
|
|
- include_tasks: 02_permissions_ssh.yml
|
|
|
|
- include_tasks: 03_permissions_folders.yml
|
|
|
|
- include_tasks: utils/once/flag.yml |