build
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run

This commit is contained in:
2026-03-16 13:36:29 +01:00
parent 579ec520a2
commit 13b93d7f2b
6 changed files with 51 additions and 9 deletions

View File

@@ -1,17 +1,25 @@
- hosts: odroid_master
name: Setup info display
become: true
gather_facts: no
gather_facts: false
tasks:
- name: Install deps...
ansible.builtin.apt:
name:
- python3-pip
- python3-dev
- python3-venv
- i2c-tools
update_cache: yes
- name: Remove file (delete file)
ansible.builtin.file:
path: /usr/lib/python3.11/EXTERNALLY-MANAGED
state: absent
- name: Create virtual environment
ansible.builtin.command:
cmd: python3 -m venv /opt/myenv
creates: /opt/myenv/bin/activate
- name: Install bottle python package
ansible.builtin.pip:
@@ -20,6 +28,8 @@
- psutil
- smbus2
- uptime
virtualenv: /opt/myenv
- name: Upload led control scripts
ansible.builtin.copy:
src: scripts/lcd_control.py