mirror of
https://github.com/k3s-io/k3s-ansible.git
synced 2025-12-25 00:12:37 +01:00
make sure its Raspbian Buster
This commit is contained in:
@@ -20,7 +20,7 @@
|
|||||||
iptables:
|
iptables:
|
||||||
flush: true
|
flush: true
|
||||||
when:
|
when:
|
||||||
- ansible_facts.distribution_release is search("buster")
|
- ansible_facts.lsb.description is match("[Rr]aspbian.*[Bb]uster")
|
||||||
|
|
||||||
- name: Changing to iptables-legacy for Raspbian Buster
|
- name: Changing to iptables-legacy for Raspbian Buster
|
||||||
alternatives:
|
alternatives:
|
||||||
@@ -28,7 +28,7 @@
|
|||||||
name: iptables
|
name: iptables
|
||||||
register: ip6_legacy
|
register: ip6_legacy
|
||||||
when:
|
when:
|
||||||
- ansible_facts.distribution_release is search("buster")
|
- ansible_facts.lsb.description is match("[Rr]aspbian.*[Bb]uster")
|
||||||
|
|
||||||
- name: Changing to ip6tables-legacy for Raspbian Buster
|
- name: Changing to ip6tables-legacy for Raspbian Buster
|
||||||
alternatives:
|
alternatives:
|
||||||
@@ -36,7 +36,7 @@
|
|||||||
name: ip6tables
|
name: ip6tables
|
||||||
register: ip4_legacy
|
register: ip4_legacy
|
||||||
when:
|
when:
|
||||||
- ansible_facts.distribution_release is search("buster")
|
- ansible_facts.lsb.description is match("[Rr]aspbian.*[Bb]uster")
|
||||||
|
|
||||||
- name: Rebooting on Raspbian
|
- name: Rebooting on Raspbian
|
||||||
reboot:
|
reboot:
|
||||||
|
|||||||
Reference in New Issue
Block a user