Commit Graph

198 Commits

Author SHA1 Message Date
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
Xan Manning
aea68db6c5 README corrected with premature information 2020-11-14 13:55:55 +00:00
Martin Friedrich
f9461f1951 Cherry-picked PR from v1 2020-11-11 20:54:14 +00:00
Xan Manning
58db02a967 Merge branch 'v1_release' 2020-11-11 20:51:36 +00:00
Xan Manning
66ee539862
Merge pull request #63 from networkpanic/feature/rpi-cluster
adding retries to restart k3s handler
2020-11-11 20:50:53 +00:00
Xan Manning
a2075a7a76 Fix travis, removed wireguard due to external dependency issue 2020-11-11 20:49:26 +00:00
Martin Friedrich
dd40e73d6c
remove trailing whitespace 2020-11-11 15:47:29 +01:00
Martin Friedrich
dc571c375b adding retries to restart k3s handler 2020-11-11 09:41:26 +01:00
Xan Manning
8c791cb611 Change terminology of tasks to remove "master" 2020-11-10 19:01:05 +00:00
Xan Manning
a99087c7f6 Remove "master" from README.md 2020-11-10 18:30:38 +00:00
Xan Manning
29c4936807 Create v1.x release branch prior to v2.x release 2020-11-10 08:43:52 +00:00
Xan Manning
1f74a599ee
Merge pull request #60 from networkpanic/feature/rpi-cluster
add advertise_ip support
2020-10-26 18:32:16 +00:00
Martin Friedrich
4ed0727411
add missing host-gw to flannel backend comment 2020-10-26 11:24:11 +01:00
Martin Friedrich
edc98a6d6e
add advertise address to readme 2020-10-26 10:43:39 +01:00
Martin Friedrich
04375f5e39
add support for advertise ip, this was needed to advertise using the internal-ip's of my nodes 2020-10-26 10:43:39 +01:00
Xan Manning
170bf5995f Merge conflict resolved: archlinux support 2020-10-23 16:40:35 +01:00
Xan Manning
a8dd9acdb9 ArchLinux support added by @networkpanic 2020-10-23 16:34:19 +01:00
Xan Manning
e473064f61
Merge pull request #59 from networkpanic/feature/archlinux
Archlinux support
2020-10-23 16:31:59 +01:00
Xan Manning
35b037c7ee Pre-FQCN breakage 2020-10-23 16:31:21 +01:00
Martin Friedrich
e5133c1f73
add archlinux support, fixed drain invoked on uninstall by adding --delete-local-data 2020-10-23 14:43:58 +02:00
Xan Manning
3d2b74c816 Slight tidy up of playbooks in default molecule test 2020-10-22 19:30:40 +01:00
Xan Manning
57b9a2a0be Moved to file based config, pre-FQCN, pre-update to documentation 2020-10-22 19:26:15 +01:00
Xan Manning
61f706acb9 Merge branch 'master' into role_v2 2020-10-22 11:59:34 +01:00
Xan Manning
93b95a9813
Merge pull request #58 from PyratLabs/bugfix-k3s_node_data_dir
k3s_node_data_dir now set in templates
2020-10-22 11:45:41 +01:00
Xan Manning
292c726b07 Split out repeating tasks 2020-10-21 17:22:41 +01:00
Xan Manning
f3173f193f Merge branch 'bugfix-k3s_node_data_dir' into role_v2 2020-10-19 20:35:32 +01:00
Xan Manning
6e29200d9a Attempt to fix #57 - k3s_node_data_dir set in templates 2020-10-19 20:32:53 +01:00
Xan Manning
9b800d9fba moving to file-based config 2020-10-19 20:26:12 +01:00