mirror of
https://github.com/k3s-io/k3s-ansible.git
synced 2024-06-24 10:14:48 +02:00
make sure its Raspbian Buster
This commit is contained in:
parent
02e9b3607d
commit
5d92b0ac41
|
@ -20,7 +20,7 @@
|
|||
iptables:
|
||||
flush: true
|
||||
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
|
||||
alternatives:
|
||||
|
@ -28,7 +28,7 @@
|
|||
name: iptables
|
||||
register: ip6_legacy
|
||||
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
|
||||
alternatives:
|
||||
|
@ -36,7 +36,7 @@
|
|||
name: ip6tables
|
||||
register: ip4_legacy
|
||||
when:
|
||||
- ansible_facts.distribution_release is search("buster")
|
||||
- ansible_facts.lsb.description is match("[Rr]aspbian.*[Bb]uster")
|
||||
|
||||
- name: Rebooting on Raspbian
|
||||
reboot:
|
||||
|
|
Loading…
Reference in New Issue
Block a user