Commit Graph

375 Commits

Author SHA1 Message Date
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
Xan Manning
e954ba13c4 Bugfix: Docker check still failing on "false" 2021-01-10 16:35:20 +00:00
Xan Manning
8f0e9f22af
Merge pull request #82 from PyratLabs/bugfix-armv6l_support
Added support for armv6l (RPi ZeroW)
2021-01-02 16:51:47 +00:00
Xan Manning
216af14fe1 Updated Changelog 2021-01-02 16:37:31 +00:00
Xan Manning
a2e035cd1c Bugfix registry 2021-01-02 16:33:31 +00:00
Xan Manning
6d1a5f812b Updated Molecule requirements 2021-01-02 16:18:15 +00:00
Xan Manning
75504b08b4 Added support for armv6l (RPi ZeroW) 2021-01-02 16:14:24 +00:00
Xan Manning
e7c714424c
Tiidy up and refactoring of tasks (#80)
* Tidy up and refactoring of tasks

  - `k3s_config_dir` derived from `k3s_config_file`, reused throughout the role
    to allow for easy removal of "Rancher" references #73.
  - `k3s_token_location` has moved to be in `k3s_config_dir`.
  - Tasks for creating directories now looped to caputure configuration from
    `k3s_server` and `k3s_agent` and ensure directories exist before k3s
    starts, see #75.
  - Server token collected directly from token file, not symlinked file
    (node-token).
  - `k3s_runtime_config` defined in `vars/` for validation and overwritten in
    tasks for control plane and workers.
  - Removed unused references to GitHub API.

* set_fact now uses FQCN

* re-pin molecule<3.2

* Command module now uses FQCN

* Added package checks for #72

* Reorder task files

  - Docker tasks moved into a separate directory for ease of removal #67
  - Bugfix: Control plane on alternate port didn't work.
  - Validation tasks grouped

* Fix Fedora tests

* Add optional documentation links to validations steps #76

* Removed jmespath requirement

* Fix issue with data collection

* Release candidate
2020-12-21 19:14:52 +00:00
Xan Manning
ef6c579336
Merge pull request #79 from PyratLabs/feature-update_uninstall_scripts
Uninstall scripts now in-line with upstream
2020-12-19 14:26:18 +00:00
Xan Manning
99c22dceab Uninstall scripts now in-line with upstream
Fixes #74
Addresses #73 - move rancher reference to vars/
2020-12-19 14:05:41 +00:00
Xan Manning
151d36d19b
Merge pull request #78 from PyratLabs/fix-documentation
Documentation fixes
2020-12-19 13:28:46 +00:00
Xan Manning
06fac01266 Pin molecule<3.2 2020-12-19 13:09:46 +00:00
Xan Manning
01a8313dd9 Documentation fixes
- Removed Disclaimer
  - Fixed a Typo
  - Removing references to Rancher
  - Removing references to Docker
2020-12-19 11:26:08 +00:00
Xan Manning
e25edbef3c rework documentation, change github link, replace deprecated variables 2020-12-16 11:02:15 +00:00
Xan Manning
a067a97f38
Merge pull request #68 from PyratLabs/feature-embedded_etcd_ga_support
Embedded Etcd now no longer Experimental
2020-12-12 18:38:33 +00:00
Xan Manning
e7ba779c91 Update PR template 2020-12-12 18:26:30 +00:00
Xan Manning
e4059661ab Reduce GitHub Actions testing matrix 2020-12-12 18:12:54 +00:00
Xan Manning
1d40c4d2c9 Migration from Travis-CI to GitHub Actions 2020-12-12 16:21:17 +00:00
Xan Manning
34e2af3d47 Set embedded Etcd as stable, deprecate docker 2020-12-12 14:27:59 +00:00
Xan Manning
5d3524d729 Fix link to documentation 2020-12-05 22:01:43 +00:00
Xan Manning
4afc2c8a5a Fixed data-dir configuration and draining of nodes. Added documentation. 2020-12-05 21:56:28 +00:00
Xan Manning
21adf94627 Updated issue template and collection yml 2020-11-30 21:57:58 +00:00
Xan Manning
fa73be4921 Fixed a number of typos in the README.md 2020-11-30 08:41:56 +00:00
Xan Manning
976fe8c0ca Resolve merge conflict 2020-11-29 20:31:22 +00:00
Xan Manning
ebf32dbd99 v2 pre-release 2020-11-29 20:10:42 +00:00
Xan Manning
cc59955b28 Merge branch 'v1_release' into main 2020-11-14 14:15:52 +00:00
Xan Manning
ddbf7a71a8 Updated terminology to remove references to "master" 2020-11-14 14:15:19 +00:00
Xan Manning
603cabdb39 Merge branch 'master' into v1_release 2020-11-14 13:56:07 +00:00