lint errors corrected

This commit is contained in:
Staf Wagemakers 2020-08-16 21:53:00 +02:00
parent d2b420588e
commit c657367755
1 changed files with 4 additions and 3 deletions

View File

@ -20,9 +20,10 @@
- name: Set detected_distribution to Raspbian
set_fact:
detected_distribution: Raspbian
when:
- raspberry_pi|default(false)
- ansible_facts.lsb.id|default("") == "Raspbian" or ansible_facts.lsb.description|default("") is match("[Rr]aspbian.*")
when: >
raspberry_pi|default(false) and
( ansible_facts.lsb.id|default("") == "Raspbian" or
ansible_facts.lsb.description|default("") is match("[Rr]aspbian.*") )
- name: Set detected_distribution to Raspbian (ARM64 on Debian Buster)
set_fact: