Merge pull request #23 from geerlingguy/22-file-mode-octal

Fixes #22: Set proper file mode using an octal.
This commit is contained in:
Julien DOCHE 2020-05-18 10:27:09 +02:00 committed by GitHub
commit d250fbd76d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@
dest: /usr/local/bin/k3s
owner: root
group: root
mode: 755
mode: 0755
when: ansible_facts.architecture == "x86_64"
- name: Download k3s binary arm64
@ -20,7 +20,7 @@
dest: /usr/local/bin/k3s
owner: root
group: root
mode: 755
mode: 0755
when:
- ansible_facts.architecture is search("arm")
- ansible_facts.userspace_bits == "64"
@ -31,7 +31,7 @@
dest: /usr/local/bin/k3s
owner: root
group: root
mode: 755
mode: 0755
when:
- ansible_facts.architecture is search("arm")
- ansible_facts.userspace_bits == "32"