This repository has been archived on 2024-02-16. You can view files and clone it, but cannot push or open issues or pull requests.
sysconfig/setup.yml

41 lines
789 B
YAML

---
- name: Gather information
hosts: all
gather_facts: yes
tags: always
- name: Check whether the current user is 'root'
fail:
msg: This playbook should only be run as 'root'
when: ansible_real_user_id != 0
- name: Setup the system
hosts: all
roles:
- role: essential
tags: essential
- role: sysctl
tags: sysctl
- role: nftables
tags: nftables
- role: apparmor
tags: apparmor
- role: consolefont
tags: consolefont
- role: cron
tags: cron
- role: grub
tags: grub
- role: iwd
tags: [ laptop, iwd ]
- role: libvirt
tags: libvirt
- role: tlp
tags: [ laptop, tlp ]
- role: unbound
tags: unbound
- role: zram
tags: zram
- role: user
tags: user