diff options
| author | Ahmed Abdelhalim <[email protected]> | 2026-02-18 19:19:42 +0100 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2026-02-18 19:19:42 +0100 |
| commit | 7d7454db67c5e51308d482fbc1d369bef6cbb711 (patch) | |
| tree | bb0ae637754768f054df38595016c3e01cbaddab /roles | |
| parent | 836ecd1aabe911965ee0dd2c60624d552c50ad89 (diff) | |
Add the role to install steam on archlinux
Diffstat (limited to 'roles')
| -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 |
3 files changed, 24 insertions, 0 deletions
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" |
