Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
9b77fb35
Commit
9b77fb35
authored
May 30, 2019
by
Marc Tamsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contrib/ansible: Fixes usage of 'search' in when statements
parent
9efbeb11
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
main.yml
contrib/ansible/roles/download/tasks/main.yml
+9
-7
No files found.
contrib/ansible/roles/download/tasks/main.yml
View file @
9b77fb35
...
...
@@ -6,7 +6,7 @@
state
:
absent
-
name
:
Download k3s binary x64
get_url
:
get_url
:
url
:
https://github.com/rancher/k3s/releases/download/{{ k3s_version }}/k3s
dest
:
/usr/local/bin/k3s
owner
:
root
...
...
@@ -16,21 +16,23 @@
when
:
( ansible_facts.architecture == "x86_64" )
-
name
:
Download k3s binary arm64
get_url
:
get_url
:
url
:
https://github.com/rancher/k3s/releases/download/{{ k3s_version }}/k3s-arm64
dest
:
/usr/local/bin/k3s
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
:
get_url
:
url
:
https://github.com/rancher/k3s/releases/download/{{ k3s_version }}/k3s-armhf
dest
:
/usr/local/bin/k3s
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" )
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment