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

56 lines
1.1 KiB
YAML
Raw Normal View History

2022-01-14 19:46:59 +01:00
---
- name: Sanity checks
2022-01-14 19:46:59 +01:00
hosts: all
gather_facts: yes
tags: always
tasks:
- name: Check whether the current user is 'root'
fail:
msg: This playbook should only be run as 'root'
when: ansible_real_user_id != 0
2022-01-14 19:46:59 +01:00
- name: Check seat manager name
fail:
msg: seat_manager needs to be 'elogind' or 'seatd'
when: not seat_manager in [ 'elogind', 'seatd' ]
2022-01-14 19:46:59 +01:00
- name: Setup the system
hosts: all
roles:
- role: essential
tags: essential
- role: devd
tags: devd
- role: acpi
tags: acpi
- role: seat
tags: seat
- role: fstab
tags: fstab
2022-01-14 19:46:59 +01:00
- role: nftables
tags: nftables
- role: apparmor
tags: apparmor
- 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: usbguard
tags: usbguard
2022-01-14 19:46:59 +01:00
- role: zram
tags: zram
- role: user
tags: user
- role: container
tags: container
- role: waydroid
tags: waydroid