diff options
| author | Ahmed Abdelhalim <[email protected]> | 2026-02-19 11:52:38 +0100 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2026-02-19 16:21:10 +0100 |
| commit | 664604376476fa686265b0e60069e8e127467183 (patch) | |
| tree | bd3b04e8dba3d7206bb6e83b2f39effa047ad376 /roles/steam/tasks | |
| parent | e4680c49a1f7fc7a9b7576e2c44aed8e38602c60 (diff) | |
Refactor steam and ensure nvidia is working
Diffstat (limited to 'roles/steam/tasks')
| -rw-r--r-- | roles/steam/tasks/install-archlinux.yml | 10 | ||||
| -rw-r--r-- | roles/steam/tasks/main.yml | 10 |
2 files changed, 8 insertions, 12 deletions
diff --git a/roles/steam/tasks/install-archlinux.yml b/roles/steam/tasks/install-archlinux.yml deleted file mode 100644 index 0ac25b4b..00000000 --- a/roles/steam/tasks/install-archlinux.yml +++ /dev/null @@ -1,10 +0,0 @@ ---- -- 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 index 71bcbd0d..fc2b1f67 100644 --- a/roles/steam/tasks/main.yml +++ b/roles/steam/tasks/main.yml @@ -1,3 +1,9 @@ --- -- name: "Include OS-specific tasks" - ansible.builtin.include_tasks: "install-{{ ansible_facts['os_family'] | lower }}.yml" +- name: "Include OS-specific variables" + ansible.builtin.include_vars: "{{ ansible_facts['os_family'] | lower }}.yml" + +- name: "Ensure steam is installed" + become: true + ansible.builtin.package: + name: "{{ steam_pkg }}" + state: "present" |
