2026-04-03 09:19:18 +02:00

24 lines
563 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
- name: Vérifier que le système est Debian
ansible.builtin.assert:
that:
- ansible_facts['distribution'] == "Debian"
fail_msg: "Ce rôle est prévu uniquement pour Debian"
tags: steam
- name: Ajouter larchitecture i386
ansible.builtin.command: dpkg --add-architecture i386
register: add_i386
changed_when: add_i386.rc == 0
tags: steam
- name: Mettre à jour le cache APT
ansible.builtin.apt:
update_cache: yes
tags: steam
- name: Installer Steam
ansible.builtin.apt:
name: steam
state: present
tags: steam