1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00

usercfg.txt on ubuntu

This commit is contained in:
Jerry Vonau 2020-03-15 01:54:57 -05:00
parent 49a137ddcd
commit 9cfbbd0d58

View file

@ -19,7 +19,7 @@
- name: Enable i2c-rtc device (with "dtoverlay=i2c-rtc,{{ rtc_id }}=on" in /boot/firmware/config.txt, requires reboot!) if rtc_id is defined and rtc_id != "none" and is_ubuntu - name: Enable i2c-rtc device (with "dtoverlay=i2c-rtc,{{ rtc_id }}=on" in /boot/firmware/config.txt, requires reboot!) if rtc_id is defined and rtc_id != "none" and is_ubuntu
lineinfile: lineinfile:
path: /boot/firmware/config.txt path: /boot/firmware/usercfg.txt
line: "dtoverlay=i2c-rtc,{{ rtc_id }}=on" line: "dtoverlay=i2c-rtc,{{ rtc_id }}=on"
state: present state: present
when: rtc_id is defined and rtc_id != "none" and is_ubuntu when: rtc_id is defined and rtc_id != "none" and is_ubuntu