1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

fix for centos (#58)

* Update main.yml

* provide common working default rtc_id for rpi
This commit is contained in:
Jerry Vonau 2017-07-04 14:54:06 -05:00 committed by georgejhunt
parent d5397fd2b5
commit f461e745d2
2 changed files with 2 additions and 2 deletions

View file

@ -28,7 +28,7 @@ driver_name: nl80211
rpi_model: none
is_rpi: False
xo_model: none
rtc_id: none
rtc_id: ds3231
# Set defaults for discovery process as strings
wifi1: "not found-1"

View file

@ -41,7 +41,7 @@
set_fact:
rpi_model: "rpi"
is_rpi: "True"
when: ansible_lsb["id"] == "Raspbian"
when: {{ ansible_local["local_facts"]["os"] }} == "raspbian"
ignore_errors: true
- include: prep.yml