Commit da118e8a authored by Levin Zimmermann's avatar Levin Zimmermann

playbook: Simplify dependencies installation

parent b6767b9a
- name: Install Python
- name: Install apt package dependencies
apt:
name: python
state: present
- name: Install pip
apt:
name: python-pip
state: present
- name: Install i2c-tools
apt:
name: i2c-tools
pkg:
- python
- python-pip
- i2c-tools
- python-smbus
state: present
- name: Install Python package bme280
pip:
name: bme280
- name: Install python-smbus
apt:
name: python-smbus
state: present
- name: Solve python template to read sensor
template:
src: read_bme280.j2
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment