first commit

This commit is contained in:
PaulVua
2025-01-09 14:09:21 +01:00
parent 531f0ef740
commit 3081e43a1a
96 changed files with 65961 additions and 1 deletions

37
install_software.yaml Executable 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