summaryrefslogtreecommitdiffstats
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
parent836ecd1aabe911965ee0dd2c60624d552c50ad89 (diff)
Add the role to install steam on archlinux
-rw-r--r--configure.yml1
-rw-r--r--molecule/archlinux-gnome/converge.yml1
-rw-r--r--molecule/archlinux/converge.yml1
-rw-r--r--roles/steam/meta/main.yml11
-rw-r--r--roles/steam/tasks/install-archlinux.yml10
-rw-r--r--roles/steam/tasks/main.yml3
6 files changed, 27 insertions, 0 deletions
diff --git a/configure.yml b/configure.yml
index 7f6da3e1..838dc330 100644
--- a/configure.yml
+++ b/configure.yml
@@ -33,6 +33,7 @@
- role: "firefox"
- role: "chromium"
- role: "obsidian"
+ - role: "steam"
- role: "gnome-calendar"
- role: "claude"
- role: "alacritty"
diff --git a/molecule/archlinux-gnome/converge.yml b/molecule/archlinux-gnome/converge.yml
index 5005582d..f4284299 100644
--- a/molecule/archlinux-gnome/converge.yml
+++ b/molecule/archlinux-gnome/converge.yml
@@ -89,6 +89,7 @@
- role: "firefox"
- role: "chromium"
- role: "obsidian"
+ - role: "steam"
- role: "font"
- role: "aur_font"
- role: "alacritty"
diff --git a/molecule/archlinux/converge.yml b/molecule/archlinux/converge.yml
index cf5eff69..8a2f561e 100644
--- a/molecule/archlinux/converge.yml
+++ b/molecule/archlinux/converge.yml
@@ -87,6 +87,7 @@
- role: "firefox"
- role: "chromium"
- role: "obsidian"
+ - role: "steam"
- role: "font"
- role: "aur_font"
- role: "alacritty"
diff --git a/roles/steam/meta/main.yml b/roles/steam/meta/main.yml
new file mode 100644
index 00000000..1ae30c02
--- /dev/null
+++ b/roles/steam/meta/main.yml
@@ -0,0 +1,11 @@
+---
+dependencies: []
+galaxy_info:
+ author: "a14m"
+ description: "Install steam"
+ license: "MIT"
+ min_ansible_version: "2.18"
+ platforms:
+ - name: "ArchLinux"
+ versions:
+ - "all"
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"