blob: f45433a7fefcb08f704a41c545aeff181b3e31bf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
- name: include battery optimization
ansible.builtin.include_tasks: tlp.yml
when: ansible_form_factor in ["Laptop", "Notebook"]
- name: include cronie setup
ansible.builtin.include_tasks: cronie.yml
- name: include virtualization setup
ansible.builtin.include_tasks: libvirt.yml
- name: include dockerd setup
ansible.builtin.include_tasks: dockerd.yml
- name: include pipewire
ansible.builtin.include_tasks: pipewire.yml
- name: retrieve installed packages
ansible.builtin.package_facts:
register: package_facts
- name: include yay
ansible.builtin.include_tasks: yay.yml
when:
- "'yay' not in package_facts.ansible_facts.packages"
- "'yay-bin' not in package_facts.ansible_facts.packages"
- name: append current user to system groups
ansible.builtin.user:
name: "{{ workstation_user }}"
groups: "{{ item }}"
append: true
loop:
- wheel
- video
- audio
|