Commit graph

8 commits

Author SHA1 Message Date
Xan Manning
389974d7d3
Merge pull request #1 from jdmarble/patch-1
Add support for armv7l arch
2019-04-25 08:48:22 +01:00
James D. Marble
3e83e3c301
Add support for armv7l arch
I was receiving this error when running the task on my [Odroid HC1 running Armbian](https://www.armbian.com/odroid-hc1/):

```
TASK [xanmanning.k3s : Ensure target host architecture information is set as a fact] **************************************************************************
fatal: [odroid]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'armv7l'\n\nThe error appears to have been in '/home/jdmarble/.ansible/roles/xanmanning.k3s/tasks/download-k3s.yml': line 3, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Ensure target host architecture information is set as a fact\n  ^ here\n"}
```

I worked around the problem by overriding `k3s_arch_lookup` in my play book:

```yaml
---

- hosts: all
  roles:
    - role: xanmanning.k3s
      k3s_arch_lookup:
        armv7l:
          arch: arm
          suffix: "-armhf"
```
2019-04-24 16:15:39 -07:00
Xan Manning
27083e1d5b Bugfix: Checking of hash fixed for k3s v0.3.0 release 2019-04-06 12:04:09 +01:00
Xan Manning
728dd1ff12 Fixed ansible-lint rule 306, pipefail 2019-03-24 16:02:41 +00:00
Xan Manning
c7119c3033 Bugfix: Issue with non-control-nodes in docker provision 2019-03-10 18:21:39 +00:00
Xan Manning
a6ff65900d Bugfix variable on Docker install, updated README.md and added LICENSE 2019-03-10 14:53:52 +00:00
Xan Manning
542d3f04ce Updated Metadata 2019-03-09 21:30:24 +00:00
Xan Manning
750c72295e Initial commit and release 2019-03-09 20:54:44 +00:00