Files
ansible_uni_deploy/roles/gui_app_init/tasks/install_steam.yml
2023-06-21 15:21:23 +02:00

27 lines
653 B
YAML

---
- name: Steam install "RedHat"
become: true
ansible.builtin.dnf:
name: steam
enablerepo: rpmfusion-nonfree-steam
when: ansible_os_family == "RedHat"
- name: Add gpg key for steam for "Debian"
become: true
ansible.builtin.apt_key:
url: http://repo.steampowered.com/steam/archive/stable/steam.gpg
state: present
- name: Add repository for steam for "Debian"
become: true
ansible.builtin.apt_repository:
repo: deb http://repo.steampowered.com/steam/ stable steam
when: ansible_os_family == "Debian"
- name: Install Steam "Debian"
become: true
ansible.builtin.apt:
name: steam-launcher
state: present