8 lines
211 B
YAML
8 lines
211 B
YAML
---
|
|
- name: Install i2c-tools
|
|
apt: name=i2c-tools
|
|
- name: Enable i2c1 (pt 1)
|
|
lineinfile: path=/boot/config.txt line=dtparam=i2c_arm=on
|
|
- name: Enable i2c1 (pt 2)
|
|
lineinfile: path=/etc/modules line=i2c-dev
|