nolte
1dd9297de4
change template path for molecule test
2020-01-11 19:39:11 +01:00
nolte
cb13c5b473
create manifests directory if not exists
2020-01-11 18:56:48 +01:00
nolte
2aedce0359
add first draft for running molecule test with auto manifests deployments
2020-01-11 18:03:47 +01:00
nolte
b89f2f3acd
remove trailing spaces
2020-01-11 15:58:58 +01:00
nolte
2b646e4e4f
update task documentation and add new config parameters to the Readme
2020-01-11 15:44:28 +01:00
nolte
2307546be2
add support place k8s manifests to the nodes
2020-01-11 15:10:19 +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
Xan Manning
fe688dfc70
Changed workflow to include state (allows for build and operate
...
workflows)
2019-12-21 10:34:33 +00:00
Xan Manning
717de81c7f
Build-operate workflow trial - allow for stop-starting cluster.
2019-12-20 19:41:20 +00:00
Xan Manning
e8e5dbf45a
Merge pull request #4 from quulah/fix-sha256sum-parsing
...
Parse checksum without shell usage
2019-12-11 14:47:10 +00:00
Miika Kankare
c5cdc745e5
Parse checksum without shell usage
2019-12-11 15:17:05 +02:00
Xan Manning
99c103a14f
Fixed regression with AmazonLinux Docker install, increased coverage of
...
testing Docker installation as Fedora was missing python-dnf dependency.
2019-12-09 19:46:25 +00:00
Xan Manning
ec61e0b4ce
Improved Docker support for SUSE/openSUSE. Notes about control host requirements
2019-12-09 13:53:42 +00:00
Xan Manning
26a3b2eef0
Added extra no-deploy options for v1.0.0
2019-12-04 19:10:05 +00:00
Xan Manning
8f3b2428c8
Added experimental options to ansible role:
...
1. Ability to specify control host address, for connecting to a control plane
provisioned outside of the role.
2. Ability to specify the control host token, again for connecting to
a control plane provisioned outside of the role.
3. Included upstream changes from @nolte to define KubeConfig file
permissions.
2019-12-04 17:17:15 +00:00
Xan Manning
2b8f354a88
Updated service unit template for neater output
2019-11-03 15:35:32 +00:00
Xan Manning
d81d41e709
Updated Meta to reflect currently supported platforms
2019-11-03 10:56:42 +00:00
Xan Manning
9295347b6d
Merging in branch for providing additional options for running k3s.
2019-11-02 22:46:35 +00:00
Xan Manning
5e39160ed9
Added a number of extra options to configure K3s in systemd unit file.
...
Testing:
- Added docker networking, ensure that test output is verbose.
- Fix build for AmazonLinux 2
- No-deploy flag test added
2019-11-02 22:19:33 +00:00
Xan Manning
1282da8cfa
Removed failing test, works in Vagrant but not docker.
2019-10-27 00:12:02 +01:00
Xan Manning
6e9566d5eb
Fixed initial support for 0.10.0, added molecule tests in Travis-CI
2019-10-26 22:24:20 +01:00
Xan Manning
efc703541c
Updated for 0.10.0, adding molecule testing with Travis-CI
2019-10-26 22:23:17 +01:00
Xan Manning
2327d0433d
Added new options for Flannel interfaces, tested on openSUSE LEAP 15.1
2019-09-29 18:11:05 +01:00
Xan Manning
f077120580
Tested against Debian Buster, confirmed working.
2019-06-15 17:44:09 +01:00
Xan Manning
43275f5d63
Merge pull request #2 from abdennour/patch-1
...
static import
2019-05-16 19:19:05 +01:00
abdennour
07661f7df8
static import
...
include_tasks is used to import tasks according to a condition that relies on a dynamic value (facts).
2019-05-13 06:54:54 +03:00
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