Commit Graph

10 Commits

Author SHA1 Message Date
Xan Manning ebf32dbd99 v2 pre-release 2020-11-29 20:10:42 +00:00
Xan Manning 35b037c7ee Pre-FQCN breakage 2020-10-23 16:31:21 +01:00
Xan Manning a93403d312 Restructuring for config file based deployment 2020-10-18 17:41:00 +01:00
Xan Manning 45a41f895b Restructure for validation checks 2020-10-17 18:27:52 +01:00
ᗪєνιη ᗷυнʟ c447fcec39 A number of enhancements for v1.19 release.
- Added option to skip validation checks #47
  - Add SELinux support in containerd #48
  - Added check for Etcd member count #46
  - Moved token to a file #50
  - Added Etcd snapshot configuration options #49
2020-09-22 20:30:50 +01:00
Xan Manning 5ce8dec6ff Added the ability to set k3s_release_version as a release channel 2020-05-18 20:45:48 +01:00
Xan Manning da427f1518 Added new state "downloaded" - improved getting latest version 2019-12-28 15:50:17 +00:00
Xan Manning f2a3f75f08 Added some validation steps, fixed issue with checksum, introducing rootless
as an option, however this is experimental in both K3s and this role.
2019-12-22 18:54:25 +00: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 750c72295e Initial commit and release 2019-03-09 20:54:44 +00:00