summaryrefslogtreecommitdiffstats
path: root/roles/network/tasks/install-archlinux.yml
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2025-08-11 00:32:00 +0200
committerAhmed Abdelhalim <[email protected]>2025-08-11 00:32:00 +0200
commit20ab3adb6b08944235c707490449c8906394564f (patch)
tree8f0bded9360fde2cb6779d4e8cd50d41a3741c4c /roles/network/tasks/install-archlinux.yml
parentb837d1af24552836cf85a17013ca7b210e1b727c (diff)
Add network role
Diffstat (limited to 'roles/network/tasks/install-archlinux.yml')
-rw-r--r--roles/network/tasks/install-archlinux.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/roles/network/tasks/install-archlinux.yml b/roles/network/tasks/install-archlinux.yml
new file mode 100644
index 00000000..94384c5a
--- /dev/null
+++ b/roles/network/tasks/install-archlinux.yml
@@ -0,0 +1,15 @@
+---
+- name: "Ensure network_packages are installed"
+ become: true
+ community.general.pacman:
+ name: "{{ network_packages }}"
+ state: "present"
+ tags: [required_for_boot]
+
+- name: "Ensrue network_packages_removed are removed"
+ become: true
+ community.general.pacman:
+ name: "{{ network_packages_removed }}"
+ state: "absent"
+ extra_args: "-n" # Removes config files too
+ # Not required for boot