summaryrefslogtreecommitdiffstats
path: root/roles/steam/tasks
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-02-18 19:19:42 +0100
committerAhmed Abdelhalim <[email protected]>2026-02-18 19:19:42 +0100
commit7d7454db67c5e51308d482fbc1d369bef6cbb711 (patch)
treebb0ae637754768f054df38595016c3e01cbaddab /roles/steam/tasks
parent836ecd1aabe911965ee0dd2c60624d552c50ad89 (diff)
Add the role to install steam on archlinux
Diffstat (limited to 'roles/steam/tasks')
-rw-r--r--roles/steam/tasks/install-archlinux.yml10
-rw-r--r--roles/steam/tasks/main.yml3
2 files changed, 13 insertions, 0 deletions
diff --git a/roles/steam/tasks/install-archlinux.yml b/roles/steam/tasks/install-archlinux.yml
new file mode 100644
index 00000000..0ac25b4b
--- /dev/null
+++ b/roles/steam/tasks/install-archlinux.yml
@@ -0,0 +1,10 @@
+---
+- name: "Ensure multilib is enabled"
+ ansible.builtin.include_role:
+ name: "multilib"
+
+- name: "Ensure steam is installed"
+ become: true
+ ansible.builtin.package:
+ name: "steam"
+ state: "present"
diff --git a/roles/steam/tasks/main.yml b/roles/steam/tasks/main.yml
new file mode 100644
index 00000000..71bcbd0d
--- /dev/null
+++ b/roles/steam/tasks/main.yml
@@ -0,0 +1,3 @@
+---
+- name: "Include OS-specific tasks"
+ ansible.builtin.include_tasks: "install-{{ ansible_facts['os_family'] | lower }}.yml"