mirror of https://github.com/k3s-io/k3s
contrib/ansible: Fixes usage of 'search' in when statements
parent
9efbeb11e4
commit
9b77fb35ae
|
@ -22,8 +22,9 @@
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: 755
|
mode: 755
|
||||||
when: ( ansible_facts.architecture is search "arm" and
|
when: ( ansible_facts.architecture is search("arm") )
|
||||||
ansible_facts.userspace_bits == "64" )
|
and
|
||||||
|
( ansible_facts.userspace_bits == "64" )
|
||||||
|
|
||||||
- name: Download k3s binary armhf
|
- name: Download k3s binary armhf
|
||||||
get_url:
|
get_url:
|
||||||
|
@ -32,5 +33,6 @@
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: 755
|
mode: 755
|
||||||
when: ( ansible_facts.architecture is search "arm" and
|
when: ( ansible_facts.architecture is search("arm") )
|
||||||
ansible_facts.userspace_bits == "32" )
|
and
|
||||||
|
( ansible_facts.userspace_bits == "32" )
|
||||||
|
|
Loading…
Reference in New Issue