aboutsummaryrefslogblamecommitdiffstats
path: root/roles/workstation/tasks/os_archlinux.yml
blob: 488004c97837bb6258bb401d2b5cc9bc31f495d0 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                    

                                                     
 


                            


                                    


                             


                             



                                   
                   



                                                             









                                            
- name: include battery optimization
  include_tasks: tlp.yml
  when: ansible_form_factor in ["Laptop", "Notebook"]

- name: include cronie setup
  include_tasks: cronie.yml

- name: include virtualization setup
  include_tasks: libvirt.yml

- name: include dockerd setup
  include_tasks: dockerd.yml

- name: include pipewire
  include_tasks: pipewire.yml

- name: retrieve installed packages
  package_facts:
  register: package_facts

- name: include yay
  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
  user:
    name: "{{ workstation_user }}"
    groups: "{{ item }}"
    append: true
  loop:
    - wheel
    - video
    - audio
remember that computers suck.