1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-12 19:22:24 +00:00

change rpi detection to use Raspbian id

This commit is contained in:
Tim Moody 2017-06-04 10:19:34 -04:00
parent 47053a0e50
commit 1a627bddd2

View file

@ -33,11 +33,11 @@
when: selinux_disabled is defined and selinux_disabled.changed
## DISCOVER PLATFORMS ######
- name: Discover if this is a rpi -- if so it has a bcm2709 processor
- name: Discover if this is a rpi -- assume if so it is running raspbian
set_fact:
rpi_model: "rpi"
is_rpi: "True"
when: ansible_cmdline["bcm2709.serial"] is defined
when: ansible_lsb["id"] == "Raspbian"
ignore_errors: true
- include: prep.yml