31 lines
992 B
YAML
31 lines
992 B
YAML
---
|
|
- name: Update APT cache
|
|
ansible.builtin.apt:
|
|
update_cache: yes
|
|
|
|
- name: Install software-properties-common package (Debian)
|
|
ansible.builtin.apt:
|
|
name: software-properties-common
|
|
update_cache: yes
|
|
|
|
- name: Install sudo package (Debian)
|
|
ansible.builtin.apt:
|
|
name: sudo
|
|
|
|
- name: Install steamcmd on debian 12
|
|
ansible.builtin.shell: |
|
|
sudo apt update -y; sudo apt install software-properties-common -y ; sudo apt-add-repository non-free -y; sudo dpkg --add-architecture i386; sudo apt update -y
|
|
sudo apt install steamcmd -y
|
|
|
|
|
|
# - name: Install dependences and steamcmd package
|
|
# ansible.builtin.shell: |
|
|
# apt upgrade -y
|
|
# apt-add-repository -yn non-free non-free-firmware
|
|
# dpkg --add-architecture i386
|
|
# echo steam steam/license note '' | debconf-set-selections
|
|
# echo steam steam/question select "I AGREE" | debconf-set-selections
|
|
# apt update -y
|
|
# ACCEPT_EULA=Y apt install steamcmd -y
|
|
# args:
|
|
# executable: /bin/bash |