mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 03:32:12 +00:00
change rpi detection to use Raspbian id
This commit is contained in:
parent
47053a0e50
commit
1a627bddd2
1 changed files with 6 additions and 6 deletions
|
@ -33,11 +33,11 @@
|
||||||
when: selinux_disabled is defined and selinux_disabled.changed
|
when: selinux_disabled is defined and selinux_disabled.changed
|
||||||
|
|
||||||
## DISCOVER PLATFORMS ######
|
## 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:
|
set_fact:
|
||||||
rpi_model: "rpi"
|
rpi_model: "rpi"
|
||||||
is_rpi: "True"
|
is_rpi: "True"
|
||||||
when: ansible_cmdline["bcm2709.serial"] is defined
|
when: ansible_lsb["id"] == "Raspbian"
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
|
|
||||||
- include: prep.yml
|
- include: prep.yml
|
||||||
|
|
Loading…
Reference in a new issue