--- - 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