ᗪєνιη ᗷυнʟ
b16f142c21
Override facts when commit hash is specified
2020-09-23 09:43:31 -04:00
Xan Manning
4b4a49bdd5
Merge branch 'master' of github.com:PyratLabs/ansible-role-k3s
2020-09-22 20:31:06 +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
4dd827c2a7
Merge pull request #44 from onedr0p/patch-3
...
set want and after to network-online.target in systemd file
2020-09-21 21:10:40 +01:00
Xan Manning
1438ddde69
Merge pull request #43 from onedr0p/patch-2
...
Set LimitNOFILE to 1048576 in k3s systemd file
2020-09-21 20:45:34 +01:00
Xan Manning
d0e209d866
Merge pull request #42 from onedr0p/patch-1
...
Option to enable debug flag
2020-09-21 20:45:21 +01:00
ᗪєνιη ᗷυнʟ
c99c9bf67f
set want and after to network-online.target in systemd file
2020-09-21 14:38:51 -04:00
ᗪєνιη ᗷυнʟ
36d44bc1af
move debug to before server and agent flags
2020-09-21 13:44:11 -04:00
ᗪєνιη ᗷυнʟ
cc0c686e61
Set LimitNOFILE to 1048576
...
https://github.com/containerd/containerd/issues/3201
2020-09-21 08:39:55 -04:00
ᗪєνιη ᗷυнʟ
7ea82ed749
add k3s_debug to readme
2020-09-21 08:31:07 -04:00
ᗪєνιη ᗷυнʟ
0129ec3e5c
add debug flag service file
2020-09-21 08:29:13 -04:00
Xan Manning
ab48e3a173
Change delay to 5 seconds for secondary masters startup task to complete
2020-09-18 12:09:56 +01:00
Xan Manning
175b90ecb0
Added support for Etcd, removed DQLite support. See #41
2020-09-17 21:01:20 +01:00
Xan Manning
c743df868b
Fixing ansible-linting, exclude name check for Travis-CI
...
This release also fixes:
- #38 : removing the --disable-agent option. Please use node taints.
- #39 : clarified where jmespath should be installed in README.md
2020-09-15 18:20:23 +01:00
Xan Manning
230aaa110c
Bugfix, bind address is for listener
2020-08-01 14:17:20 +01:00
Xan Manning
1f8429a77b
Merge pull request #36 from PyratLabs/release-hardlink_check_mode
...
Release hardlink + check mode
2020-07-26 08:29:56 +01:00
Xan Manning
b412858b30
Fix merge conflict
2020-07-25 20:51:31 +01:00
Xan Manning
d8a348923a
Merge branch 'feature-symlink_to_hardlink_release' into release-hardlink_check_mode
2020-07-25 20:49:55 +01:00
Xan Manning
0bfbaa302e
Fix uninstall
2020-07-25 20:42:26 +01:00
Xan Manning
d53102dda3
Check mode support added
2020-07-25 17:39:01 +01:00
Xan Manning
809e9cd73c
Releasable feature for hardlinks
2020-07-25 14:03:53 +01:00
Xan Manning
d2a34546cf
Potential fix for #35
2020-07-25 12:27:39 +01:00
Xan Manning
504b84a8b6
Use --disable rather than --no-deploy, fix issue #33
2020-07-16 12:49:31 +01:00
Xan Manning
3a6b411430
Added support for args, private registries. Fixes #32
2020-07-04 13:24:10 +01:00
Xan Manning
f454334b42
Merge pull request #28 from pedrohdz/control-node-restart-k3s
...
Restart k3s service unit on file change
2020-06-06 15:05:43 +01:00
Xan Manning
2c0afbca42
Restart k3s service unit on file change
2020-06-06 14:30:40 +02:00
Xan Manning
9d04e315ae
Merge pull request #29 from clrxbl/patch-1
...
Become superuser to solve "Access denied"
2020-05-31 10:50:18 +01:00
Michael
f90cc5ca18
Privilege escalation to solve "Access denied"
...
```
FAILED! => {"attempts": 3, "changed": false, "msg": "Unable to enable service k3s: Failed to enable unit: Access denied\n"}
```
The task never sets become to true, hence failing due to lack of permissions on the user that is executing it by default.
2020-05-30 23:40:05 +02:00
Xan Manning
848a5457ff
Add option for unsupported single node with database backend. Issue #27
2020-05-30 15:16:20 +01:00
Xan Manning
6090071982
Bugfix, issue with HA build for joining new nodes
2020-05-25 17:57:43 +01:00
Xan Manning
23ba527bc2
Bugfix, broke clustering with v1.6.2
2020-05-25 17:11:45 +01:00
Xan Manning
9524b07df0
Fix joining nodes to an existing cluster
2020-05-25 16:25:09 +01:00
Xan Manning
141b6f2018
Numerous bug fixes to do with permissions and regressions.
...
Fix issue #25 , check k3s_bind_address for readiness check
Fix issue #24 , become for tasks that require root
2020-05-20 19:55:33 +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
e3301a59e4
Updated state tasks to dynamic include rather thn static import
...
This is an initial attempt to address issue #22 , I have also included a
task to drain the node before deleting it.
2020-05-18 19:53:03 +01:00
Xan Manning
02e12e61a8
Bugfix: minimum version for secrets encryption reverted
2020-05-17 20:43:39 +01:00
Xan Manning
b42ffade29
Fixes to variable checks
2020-05-17 11:40:53 +01:00
Xan Manning
26467de186
Unknown issue with k3s-uninstall.sh exiting with 1.
...
The script looks to be completing without error in my testing as well as
in the original issue so I am forcing an exit with 0 until the cause can
be found.
Fixes #23
2020-05-16 21:19:48 +01:00
Xan Manning
aa1a0a9620
Added option to provision multiple standalone k3s
...
Fixes #21
2020-05-16 20:18:20 +01:00
Xan Manning
9b8cf85489
Merge pull request #20 from nolte/fix/permissions-fail
...
add permission become check
2020-05-10 18:26:56 +01:00
nolte
df44053349
add a permission check for write the systemd k3s config
2020-05-09 21:07:34 +02:00
Xan Manning
681cd981ab
Updated README.md to remove compulsory become:true
2020-04-24 12:06:18 +01:00
Xan Manning
c5a8f03b35
Merge pull request #19 from SimonHeimberg/become
...
variables to activate become for some actions
2020-04-24 12:04:23 +01:00
SimonHeimberg
acedb08a1f
variables to activate become for some steps
2020-04-22 16:42:45 +02:00
Xan Manning
bcb81e7c7d
Merge pull request #18 from t-nelis/readme-racher-typo
...
Fix typo in README: "Racher" -> "Rancher"
2020-04-09 13:15:14 +01:00
Thibault Nélis
9bace4a62f
Fix typo in README: "Racher" -> "Rancher"
2020-04-08 23:58:20 +02:00
Xan Manning
e93b438ee0
Added secrets encryption at rest option
2020-03-28 12:58:58 +00:00
Xan Manning
f684f6d907
A retry has been added to task controlling secondary master startup.
...
Fixes #17
There appeared to be a race condition where starting all secondary
masters all at once would cause the k3s service to fail on a number of
the other masters. A retry has been added to the task to attempt to
bring them all up until they stop failing.
2020-03-07 16:15:41 +00:00
Xan Manning
f709caf371
Skip final checks when no-flannel option is used.
...
Fixes #16
This is because without a CNI, nodes will never be ready and the task
will fail. You need to deploy your choice of CNI manually (such as
Calico) then check the state of the cluster using `kubectl get nodes`.
2020-03-07 14:23:09 +00:00
Xan Manning
2c09d4711b
Merge pull request #15 from PyratLabs/tidy_up_additional_validation
...
Variable check for local storage path
2020-02-28 07:39:33 +00:00