Skip to content

Commit

Permalink
fix(ansible): fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
timothystewart6 committed Aug 28, 2022
1 parent c82cbfc commit 611cf5a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions roles/k3s/master/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
- name: Clean previous runs of k3s-init
command: systemctl reset-failed k3s-init
failed_when: false
changed_when: false
args:
warn: false # The ansible systemd module does not support reset-failed

Expand Down Expand Up @@ -59,7 +58,6 @@
until: nodes.rc == 0 and (nodes.stdout.split() | length) == (groups['master'] | length)
retries: "{{ retry_count | default(20) }}"
delay: 10
changed_when: false
always:
- name: Kill the temporary service used for initialization
systemd:
Expand Down
2 changes: 0 additions & 2 deletions roles/raspberrypi/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 0 additions & 1 deletion roles/raspberrypi/tasks/prereq/Raspbian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 611cf5a

Please sign in to comment.