This commit is contained in:
Your Name
2025-03-25 14:55:50 +01:00
parent 6312cd8d72
commit 2129d45ef6
8 changed files with 812 additions and 240 deletions

37
old/install_software.yaml Normal file
View File

@@ -0,0 +1,37 @@
- name: Installer les logiciels sur le CM4
hosts: nebuleair_pro
become: yes # Ensure tasks run with sudo
tasks:
- name: Mettre à jour les paquets
apt:
update_cache: yes
upgrade: dist
- name: Install necessary packages
apt:
name:
- git
- gh
- apache2
- php
- python3
- python3-pip
- jq
- autossh
- i2c-tools
- python3-smbus
state: present # Ensure the package is installed
update_cache: yes
- name: Install required Python packages
pip:
name:
- pyserial
- requests
- RPi.GPIO
- adafruit-circuitpython-bme280
state: present
executable: pip3 #Specifies which version of pip to use (in this case, pip3).
extra_args: --break-system-packages