Add option to enable spi
This commit is contained in:
parent
83ca8b8d48
commit
a5f3bf9128
2 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
namespace: serguzim
|
namespace: serguzim
|
||||||
name: sbc
|
name: sbc
|
||||||
version: 1.0.1
|
version: 1.0.2
|
||||||
readme: README.md
|
readme: README.md
|
||||||
authors:
|
authors:
|
||||||
- Tobias Reisinger <tobias@msrg.cc>
|
- Tobias Reisinger <tobias@msrg.cc>
|
||||||
|
|
|
@ -37,6 +37,7 @@
|
||||||
regexp: '^#dtparam=spi=off$'
|
regexp: '^#dtparam=spi=off$'
|
||||||
replace: 'dtparam=spi=on'
|
replace: 'dtparam=spi=on'
|
||||||
become: true
|
become: true
|
||||||
|
when: dietpi.enable_spi | default(False)
|
||||||
|
|
||||||
|
|
||||||
- name: Try to copy Automation_Custom_Script.sh
|
- name: Try to copy Automation_Custom_Script.sh
|
||||||
|
|
Loading…
Reference in a new issue