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:
parent
d5397fd2b5
commit
f461e745d2
2 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@ driver_name: nl80211
|
||||||
rpi_model: none
|
rpi_model: none
|
||||||
is_rpi: False
|
is_rpi: False
|
||||||
xo_model: none
|
xo_model: none
|
||||||
rtc_id: none
|
rtc_id: ds3231
|
||||||
|
|
||||||
# Set defaults for discovery process as strings
|
# Set defaults for discovery process as strings
|
||||||
wifi1: "not found-1"
|
wifi1: "not found-1"
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
set_fact:
|
set_fact:
|
||||||
rpi_model: "rpi"
|
rpi_model: "rpi"
|
||||||
is_rpi: "True"
|
is_rpi: "True"
|
||||||
when: ansible_lsb["id"] == "Raspbian"
|
when: {{ ansible_local["local_facts"]["os"] }} == "raspbian"
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
|
|
||||||
- include: prep.yml
|
- include: prep.yml
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue