fix(ansible): fix lint

This commit is contained in:
Timothy Stewart committed 2022-08-28 16:32:52 -05:00
1 parent c82cbfc501
commit 611cf5ab0b
3 files changed
-5

No files matched your search

-2
View File
@@ -3,13 +3,11 @@
command: grep -E "Raspberry Pi|BCM2708|BCM2709|BCM2835|BCM2836" /proc/cpuinfo
register: grep_cpuinfo_raspberrypi
failed_when: false
changed_when: false
- name: Test for raspberry pi /proc/device-tree/model
command: grep -E "Raspberry Pi" /proc/device-tree/model
register: grep_device_tree_model_raspberrypi
failed_when: false
changed_when: false
- name: Set raspberry_pi fact to true
set_fact:
@@ -13,7 +13,6 @@
- name: Flush iptables before changing to iptables-legacy
iptables:
flush: true
changed_when: false # iptables flush always returns changed
- name: Changing to iptables-legacy
alternatives: