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
ffe21ebf
Unverified
Commit
ffe21ebf
authored
Jun 18, 2019
by
Erik Wilson
Committed by
GitHub
Jun 18, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #515 from tamsky/ansible/syntax-fixes
contrib/ansible: Fixes 'search' test usage syntax
parents
4ea110f7
9b77fb35
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 @
ffe21ebf
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
state
:
absent
state
:
absent
-
name
:
Download k3s binary x64
-
name
:
Download k3s binary x64
get_url
:
get_url
:
url
:
https://github.com/rancher/k3s/releases/download/{{ k3s_version }}/k3s
url
:
https://github.com/rancher/k3s/releases/download/{{ k3s_version }}/k3s
dest
:
/usr/local/bin/k3s
dest
:
/usr/local/bin/k3s
owner
:
root
owner
:
root
...
@@ -16,21 +16,23 @@
...
@@ -16,21 +16,23 @@
when
:
( ansible_facts.architecture == "x86_64" )
when
:
( ansible_facts.architecture == "x86_64" )
-
name
:
Download k3s binary arm64
-
name
:
Download k3s binary arm64
get_url
:
get_url
:
url
:
https://github.com/rancher/k3s/releases/download/{{ k3s_version }}/k3s-arm64
url
:
https://github.com/rancher/k3s/releases/download/{{ k3s_version }}/k3s-arm64
dest
:
/usr/local/bin/k3s
dest
:
/usr/local/bin/k3s
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
:
url
:
https://github.com/rancher/k3s/releases/download/{{ k3s_version }}/k3s-armhf
url
:
https://github.com/rancher/k3s/releases/download/{{ k3s_version }}/k3s-armhf
dest
:
/usr/local/bin/k3s
dest
:
/usr/local/bin/k3s
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" )
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