aboutsummaryrefslogtreecommitdiffstats
path: root/roles/workstation/tasks/os_archlinux.yml
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2022-10-22 16:41:45 +0200
committerRomain Gonçalves <me@rgoncalves.se>2022-10-22 16:41:45 +0200
commit0df015e9b5c4aefd4245c94ee98021d2af80ed99 (patch)
treed9dbf4259500857daf41b627dbc2d116ba92dbc1 /roles/workstation/tasks/os_archlinux.yml
parent1cd2d31e0d5f81ce066121de78c0ed042fc3b6aa (diff)
downloadrules-0df015e9b5c4aefd4245c94ee98021d2af80ed99.tar.gz
lint: pass ansible-lint + yamllint
Diffstat (limited to 'roles/workstation/tasks/os_archlinux.yml')
-rw-r--r--roles/workstation/tasks/os_archlinux.yml16
1 files changed, 8 insertions, 8 deletions
diff --git a/roles/workstation/tasks/os_archlinux.yml b/roles/workstation/tasks/os_archlinux.yml
index 488004c..f45433a 100644
--- a/roles/workstation/tasks/os_archlinux.yml
+++ b/roles/workstation/tasks/os_archlinux.yml
@@ -1,31 +1,31 @@
- name: include battery optimization
- include_tasks: tlp.yml
+ ansible.builtin.include_tasks: tlp.yml
when: ansible_form_factor in ["Laptop", "Notebook"]
- name: include cronie setup
- include_tasks: cronie.yml
+ ansible.builtin.include_tasks: cronie.yml
- name: include virtualization setup
- include_tasks: libvirt.yml
+ ansible.builtin.include_tasks: libvirt.yml
- name: include dockerd setup
- include_tasks: dockerd.yml
+ ansible.builtin.include_tasks: dockerd.yml
- name: include pipewire
- include_tasks: pipewire.yml
+ ansible.builtin.include_tasks: pipewire.yml
- name: retrieve installed packages
- package_facts:
+ ansible.builtin.package_facts:
register: package_facts
- name: include yay
- include_tasks: yay.yml
+ 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
- user:
+ ansible.builtin.user:
name: "{{ workstation_user }}"
groups: "{{ item }}"
append: true
remember that computers suck.