diff options
| -rw-r--r-- | configure.yml | 1 | ||||
| -rw-r--r-- | molecule/archlinux-gnome/converge.yml | 1 | ||||
| -rw-r--r-- | molecule/archlinux/converge.yml | 1 | ||||
| -rw-r--r-- | roles/steam/meta/main.yml | 11 | ||||
| -rw-r--r-- | roles/steam/tasks/install-archlinux.yml | 10 | ||||
| -rw-r--r-- | roles/steam/tasks/main.yml | 3 |
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" |
