mirror of
https://github.com/k3s-io/k3s-ansible.git
synced 2024-06-28 10:54:47 +02:00
contrib/ansible: Fixes usage of 'search' in when statements
This commit is contained in:
parent
f2bb86e593
commit
eb664acb6a
|
@ -22,8 +22,9 @@
|
|||
owner: root
|
||||
group: root
|
||||
mode: 755
|
||||
when: ( ansible_facts.architecture is search "arm" and
|
||||
ansible_facts.userspace_bits == "64" )
|
||||
when: ( ansible_facts.architecture is search("arm") )
|
||||
and
|
||||
( ansible_facts.userspace_bits == "64" )
|
||||
|
||||
- name: Download k3s binary armhf
|
||||
get_url:
|
||||
|
@ -32,5 +33,6 @@
|
|||
owner: root
|
||||
group: root
|
||||
mode: 755
|
||||
when: ( ansible_facts.architecture is search "arm" and
|
||||
ansible_facts.userspace_bits == "32" )
|
||||
when: ( ansible_facts.architecture is search("arm") )
|
||||
and
|
||||
( ansible_facts.userspace_bits == "32" )
|
||||
|
|
Loading…
Reference in New Issue
Block a user