initial commit

This commit is contained in:
2025-01-01 14:19:13 +01:00
commit ebec1869cc
9 changed files with 160 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
- name: System update
pacman:
update_cache: yes
upgrade: yes
- name: Install common packages
pacman:
name: "{{ common_packages }}"
when:
- common_packages is defined
- common_packages is truthy
- name: Install host-specific packages
pacman:
name: "{{ host_packages }}"
when:
- host_packages is defined
- host_packages is truthy
+18
View File
@@ -0,0 +1,18 @@
- name: System update
apt:
update_cache: yes
upgrade: dist
- name: Install common packages
apt:
name: "{{ common_packages }}"
state: present
when:
- common_packages is defined
- common_packages is truthy
- name: Install host-specific packages
apt:
name: "{{ host_packages }}"
state: present
when:
- host_packages is defined
- host_packages is truthy