Commit Graph

405 Commits

Author SHA1 Message Date
Daniel Brennand
de1bd094e5
Fix(tests): Resolve Ansible Lint warnings and fix Molecule tests on GitHub Actions (#202)
* fix(ansible-lint): FQDN and `name`

* fix(ansible-lint): add `name` and FQDN for module call

* fix(ansible-lint): add `name` to tasks and FQDN for module

* fix(ansible-lint): add task `name` and FQDN for module calls

* fix(ansible-lint): last `include_tasks`

* fix(ansible-lint): add task names and FQDN

* refactor: `Ensure` to `Run`

* [skip ci]refactor: add exist and seperate ensure installed node task, mention build cluster

* [skip ci]refactor: Pipe seperator

* [skip ci]refactor: run

* refactor: remove quotes as other files don't use them

For templated vars in task name

* [skip ci]refactor: task names, use `Run`

* [skip ci]refactor: use variable name in task name

* [skip ci]refactor: task names

* [skip ci]refactor: add service mgr in task name

* [skip ci]refactor: add task names and module FQDNs

* [skip ci]refactor: fix task name

* [skip ci]refactor: add -

* [skip ci]refactor: include task names and FQDNs

* [skip ci]refactor: add task names and FQDNs

* [skip ci]: ignore `name[template]`

* refactor: `when` clause for `block` should be before `block`

* fix: https://github.com/ansible-community/molecule/issues/3883

* refactor: molecule lint command was removed in version `5.0.0`

Use separate CI job step to run linting instead.

* [skip ci]refactor: noqa for command tasks

Subject to change

* refactor: use Ubuntu 22.04

Suspect issues with Molecule tests are related to cgroups v2.
2023-05-13 09:49:39 -04:00
Daniel Brennand
0cc1e48902
Refactor/remove-secret-encryption-experimental (#201)
* refactor: `secrets-encryption` is no longer experimental

Resolves #200

* docs(fix): typo

* docs(refactor): update CHANGELOG

* fix: add `until`

* docs(refactor): modify changelog refactor
2023-05-02 15:48:34 -04:00
Xan Manning
13db5d26f8
Merge branch 'main' of github.com:PyratLabs/ansible-role-k3s into main 2022-11-15 17:50:21 +00:00
Xan Manning
3f200f2bd7
docs(changelog): updated for v3.3.1 release 2022-11-15 17:50:09 +00:00
Xan Manning
404491c938
Merge pull request #198 from Jonaprince/patch-1
Fixes #197 fix length indentation in registry.yaml
2022-11-15 17:48:07 +00:00
Jonaprince
75b40675d8
Fixes #197 fix length indentation in registry.yaml
Fix the issue of bad indentation in rewrite rules when using registry pull through cache
2022-11-14 10:19:52 +01:00
Xan Manning
80e4debcd4
docs(changelog): updated for v3.3.0 2022-09-11 11:27:30 +01:00
Xan Manning
c28e03b97f
Merge pull request #193 from PyratLabs/fix/ensure-release-check-can-be-debugged
fix(version): ensure log output provided when version lookup fails
2022-09-11 11:24:49 +01:00
Xan Manning
01616dcd96
fix(systemd): updated unit file 2022-09-11 10:35:44 +01:00
Xan Manning
8410d2c402
WIP(molecule): snapshotter defaulted 2022-09-04 14:31:17 +01:00
Xan Manning
a6b209abdb
fix(molecule): skip post checks for now 2022-09-02 18:59:19 +01:00
Xan Manning
e9ddc8738a
fix(post-check): shorten node check delay to 5 seconds 2022-09-02 18:49:42 +01:00
Xan Manning
1d29570fc9
fix(molecule): skip post checks on hadb 2022-09-02 18:22:20 +01:00
Xan Manning
561d67cd08
fix(version): ensure log output provided when version lookup fails 2022-09-02 18:09:23 +01:00
Xan Manning
dae3eb928e
Merge pull request #194 from PyratLabs/fix/linting
fix(linting): ensure tests pass
2022-09-02 18:08:49 +01:00
Xan Manning
21fe3bccbf
feat(post-checks): add option to skip post-checks 2022-09-02 18:02:06 +01:00
Xan Manning
25a17b8511
fix(linting): ensure tests pass 2022-09-01 20:39:17 +01:00
Xan Manning
d38f344937 chore: update changelog for release 2022-06-17 15:41:16 +00:00
Xan Manning
78cf2c1866
Merge pull request #185 from PyratLabs/feat/alpine-support 2022-06-17 16:18:52 +01:00
Xan Manning
e774918812 fix: disable native snapshotter for standalone 2022-06-17 08:27:24 +00:00
Xan Manning
6f1cb8e904 fix: systemd env vars and openrc service file 2022-06-15 22:31:49 +00:00
Xan Manning
e6cb2a91e8 fix: autodeploy fix 2022-06-15 21:36:14 +00:00
Xan Manning
5bebced657 fix: control plane start retries 2022-06-15 21:03:39 +00:00
Xan Manning
c1341eb62c feat(gha): remove fail-fast on ci 2022-06-15 20:33:33 +01:00
Xan Manning
13ed1336d9 fix: service handler missing from ansible handler 2022-06-15 20:28:13 +01:00
Xan Manning
5f560137f4 fix(alpine): testing in molecule and rename service 2022-06-15 18:45:54 +01:00
Xan Manning
910b611058 WIP(alpine): trying to find a container image that supports openrc 2022-06-15 15:14:59 +01:00
Xan Manning
f3640e5c9f WIP(molecule): default image no longer prebuilt to support alpine 2022-06-15 15:14:59 +01:00
Xan Manning
291b7763b4
Merge pull request #190 from PyratLabs/niklasweimann-main
Niklasweimann main
2022-06-15 15:12:01 +01:00
Xan Manning
86a9f25325 fix(cluster-token): cluster tokens can now be specified without breaking configurations where cluster tokens are auto-generated 2022-05-29 18:55:01 +01:00
Niklas Weimann
503e3ccc3f Fix check for k3s_token_location 2022-05-16 11:28:24 +02:00
Xan Manning
818676e449 docs(changelog): release notes for 3.1.2 2022-05-02 17:55:25 +01:00
Xan Manning
87551613d4
Merge pull request #184 from PyratLabs/fix/molecule-tests
fix(molecule): fix tests by ensuring fqcn is specified
2022-05-02 17:14:18 +01:00
Xan Manning
03bc3aec5b fix(molecule): fix tests by ensuring fqcn is specified 2022-05-02 17:13:12 +01:00
Xan Manning
e20195fe56 chore(release): update changelog 2022-02-18 14:16:56 +00:00
Xan Manning
4387b3d12e
Merge pull request #179 from eaglesemanation/debian11-nftables
fix: Support nftables for Debian 11
2022-02-18 14:14:58 +00:00
Xan Manning
dc0f8c3a83 fix(molecule): fixed testing with load-balancers 2022-02-17 20:43:24 +00:00
Vladimir Romashchenko
d1f61bf866
fix: Support nftables for Debian 11 2022-02-15 15:57:43 -05:00
Xan Manning
6550071e43 chore(release): updated release notes for version bump 2022-01-30 14:08:16 +00:00
Xan Manning
594606d420
Merge pull request #177 from kossmac/main
use basename of url for items in k3s_server_manifests_urls and k3s_se…
2022-01-30 14:04:37 +00:00
Karsten Kosmala
1475d1724d
add missing bracket
Co-authored-by: Xan Manning <244186+xanmanning@users.noreply.github.com>
2022-01-30 12:08:34 +01:00
Karsten Kosmala
80eca60031
add missing bracket
Co-authored-by: Xan Manning <244186+xanmanning@users.noreply.github.com>
2022-01-30 12:08:22 +01:00
Karsten Kosmala
424145881c use basename of url for items in k3s_server_manifests_urls and k3s_server_pod_manifests_urls if filename is not provided
Signed-off-by: Karsten Kosmala <kosmala@cosmocode.de>
2022-01-20 11:13:32 +01:00
Xan Manning
3be9eff967
Merge pull request #174 from xlejo/fix_become_documentation
Rename `k3s_become_for_all` for `k3s_become`.
2022-01-07 19:24:49 +00:00
Alejo Diaz
410a5bf009
Rename k3s_become_for_all for k3s_become. 2022-01-07 13:34:40 -03:00
Xan Manning
252b87bf65 chore(changelog): updates for release 3.0.1 2022-01-06 20:57:23 +00:00
Xan Manning
1fa910f931 fix(readme): typo 2022-01-06 20:53:53 +00:00
Xan Manning
2e5dd3cc07 docs(readme): note about ansible_python_interpreter 2022-01-06 20:52:48 +00:00
Xan Manning
e7693c5d2f
Merge pull request #173 from xlejo/add_become_to_pre_checks_packages
Adding become to pre checks packages
2022-01-06 20:50:14 +00:00
Alejo Diaz
4f0bb3f9a7
Adding become to pre checks packages
To make sure that system packages are found with `which` in
distributions like Debian for example.
2022-01-06 09:49:26 -03:00