Commit graph

252 commits

Author SHA1 Message Date
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
1bbba04230
Allow control plane static pods
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
2021-05-26 09:43:07 +02:00
Xan Manning
50fa321e7e Fix templating error 2021-05-15 20:47:32 +01:00
Xan Manning
4d5d5b2838 Updated documentation to remove deprecated playbook structures #115 2021-05-15 18:47:27 +01:00
Xan Manning
7bb9f6d8b4 Update changelog 2021-05-13 18:19:55 +01:00
Xan Manning
f220fce08f Version-compare test 2021-05-13 17:43:29 +01:00
Xan Manning
2b7fd373f0
Merge pull request #114 from anjia0532/k3s_private_registry
Support k3s private registry configuration
2021-05-13 16:56:23 +01:00
赵安家
d563dcca05 style(k3s): change code style
change code style
2021-05-08 18:39:19 +08:00
赵安家
075ef165c5 fix(k3s): fix k3s's private-registry configuration not exist
fix k3s's private-registry configuration not exist
2021-05-07 18:29:01 +08:00
赵安家
c9e2b619d1 feat(k3s): support k3s's private-registry configuration
rancher doc url https://rancher.com/docs/k3s/latest/en/installation/private-registry/
2021-05-07 17:56:45 +08:00
赵安家
21fa8b048f build(gitignore): modify .gitignore
added .idea dir to .gitignore file
2021-05-07 17:55:56 +08:00
Xan Manning
a298ea0985 Update CHANGELOG.md 2021-05-06 21:11:04 +01:00
Xan Manning
ea03eaa9dd
Merge pull request #113 from angelnu/patch-1
Unmount CSI plugin folder to avoid data lost on uninstall
2021-05-06 18:52:52 +01:00
Vegetto
5305eb3758
Unmount CSI plugin folder
Fixed upstream - see https://github.com/k3s-io/k3s/issues/3264
2021-05-04 23:20:46 +02:00
Xan Manning
87c56dbe64 Updated CHANGELOG 2021-05-01 08:53:11 +01:00
Xan Manning
d2ca503432
Merge pull request #112 from anjia0532/fix_kubectl_get_nodes_result_stdout_error
fixed kubectl_get_nodes_result.stdout error
2021-04-30 17:34:25 +01:00
AnJia
91d456ccad
fixed kubectl_get_nodes_result.stdout error
os ubuntu  amd64 16.04 LTS
ansible 2.9.20
python version 2.7

```
 FAILED! => {"msg": "The conditional check 'item in kubectl_get_nodes_result.stdout' failed. The error was: error while evaluating conditional (item in kubectl_get_nodes_result.stdout): 'dict object' has no attribute 'stdout'\n\nThe error appears to be in '/home/rancher/.ansible/roles/xanmanning.k3s/tasks/teardown/drain-and-remove-nodes.yml': line 39, column 7, 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 uninstalled nodes are removed\n      ^ here\n"}

```
2021-04-30 14:31:33 +08:00
Xan Manning
2432a7d25f Fix autodeploy test 2021-04-18 20:46:31 +01:00
Xan Manning
f4fcd2897d Update test sequence for check mode, fixed check mode on cgroup test 2021-04-18 20:39:06 +01:00
Xan Manning
60da06e137
Merge pull request #110 from bdronneau/patch-1
docs(readme): typo on ansible
2021-04-18 16:12:14 +01:00
Bastien Dronneau
9a13d67468
docs(readme): typo on ansible 2021-04-18 10:30:08 +02:00
Xan Manning
03b29cb09d
Merge pull request #103 from PyratLabs/feature-cgroup_checks
Add cgroup checks, add Ansible v2.9.16 support
2021-04-10 21:13:23 +01:00
Xan Manning
265b529bb6 Update README.md, requirements.txt and CHANGELOG.md 2021-04-10 21:03:38 +01:00
Xan Manning
55f1f09f3a Added ansible version tests 2021-04-10 19:15:41 +01:00
Xan Manning
23054c76f6 Updated command modules to use cmd argument 2021-04-10 12:31:18 +01:00
Xan Manning
e5c69ec894 Add cgroup checks 2021-04-03 20:42:44 +01:00
Xan Manning
a3c4d9cfae Updated CHANGELOG 2021-03-22 18:00:05 +00:00
Xan Manning
efca6fcbbc
Merge pull request #101 from mbwmbw1337/main
docs(readme): correct typo of k4s_registration_address
2021-03-22 17:47:36 +00:00
Michael Williams
6a70a85ef2
docs(readme): correct typo of k4s_registration_address
update the "k4s_registration_address" to "k3s_registration_address"

Closes #100

[skip ci]

Signed-off-by: Michael Williams <Michael.Williams@glexia.com>
2021-03-22 06:34:56 -04:00
Xan Manning
4326f4497d Renamed k3s_control_node_address -> k3s_registration_address 2021-03-14 16:29:14 +00:00
Xan Manning
85576d62ed Merge branch 'main' of github.com:PyratLabs/ansible-role-k3s into main 2021-03-06 16:52:27 +00:00
Xan Manning
94a153892e Bugfix, missing become on cluser token check 2021-02-28 17:36:30 +00:00
Xan Manning
a8c5cd4407 Bugfix, missing become on cluser token check 2021-02-28 17:35:23 +00:00
Xan Manning
15141e9d86
Merge pull request #96 from PyratLabs/feature-tidy_up_tasks
Cluster-init checks added, tidy up of task format
2021-02-28 17:12:01 +00:00
Xan Manning
1d93c2115d Cluster-init checks added, tidy up of task format 2021-02-28 16:48:23 +00:00
Xan Manning
62b2d7cb36 Typo bugfixes 2021-02-27 19:02:49 +00:00
Xan Manning
05242ba232
Merge pull request #92 from PyratLabs/feature-systemd_documentation
systemd unit ordering + documentation
2021-02-16 19:11:04 +00:00
Xan Manning
c2348df1ea updated changelog 2021-02-16 18:23:23 +00:00
Xan Manning
5b6242ecca Example of requiring a service 2021-02-16 18:14:10 +00:00
Xan Manning
f6e009f1fd Add documentation for CNI and custom args 2021-02-16 18:02:30 +00:00
Xan Manning
7e4a16e167 Pre-documentation work
- Restructured when and asserts
  - Standardise molecule call, add systemd config
2021-02-16 16:53:49 +00:00
Xan Manning
c80898d92a Bugfix: #91, missing update to minumum ansible version var 2021-01-31 12:40:08 +00:00
Xan Manning
5555bd3d9b Bugfix, missing k3s_start_on_boot to control systemd.enabled added. 2021-01-30 17:57:50 +00:00
Xan Manning
2c12436226 Bugfixes
- Added uninstall task to remove hard-linked files #88
  - Fixed missing become for `systemd` operations tasks. #89
  - Added `k3s_start_on_boot` to control `systemd.enabled`.
2021-01-30 17:23:31 +00:00
Xan Manning
d4d24aec79
Merge pull request #87 from PyratLabs/feature-ansible_2.9_support
Add Ansible 2.9 support, instructions for k3s upgrade
2021-01-24 20:00:02 +00:00
Xan Manning
43b5359160 Update Changelog 2021-01-24 19:42:35 +00:00
Xan Manning
e026d2a4a7 Added 2.9 Ansible support 2021-01-24 18:21:51 +00:00
Xan Manning
fc1149ac9e Update CHANGELOG 2021-01-23 11:35:22 +00:00
Xan Manning
3716774cc9
Merge pull request #85 from Diaoul/patch-1
Fix check nodes ready without flannel
2021-01-23 11:33:51 +00:00
Xan Manning
1b4d3dd9dd Altered nodeploy test to remove flannel 2021-01-23 11:14:22 +00:00
Antoine Bertin
c169cb8937
Fix check nodes ready without flannel
Fixes #84
2021-01-22 00:28:53 +01:00