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: apt:
name: python pkg:
state: present - python
- python-pip
- name: Install pip - i2c-tools
apt: - python-smbus
name: python-pip
state: present
- name: Install i2c-tools
apt:
name: i2c-tools
state: present state: present
- name: Install Python package bme280 - name: Install Python package bme280
pip: pip:
name: bme280 name: bme280
- name: Install python-smbus
apt:
name: python-smbus
state: present
- name: Solve python template to read sensor - name: Solve python template to read sensor
template: template:
src: read_bme280.j2 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