acdoussan
511ec493d6
add support for proxmox lxc containers ( #209 )
...
Co-authored-by: Adam Doussan <acdoussan@Adams-MacBook-Pro.local>
2023-01-29 21:23:31 -06:00
Simon Leiner
be3e72e173
Do not rely on ansible_user ( #214 )
...
* Apply "become" on roles instead of plays
This leads to facts being gathered for the "regular" login user, instead
of root.
* Do not rely on ansible_user
Instead of reading ansible_user (which may or may not be defined), this
patch lets the roles rely on Ansible facts [1].
[1]: https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_vars_facts.html
2023-01-29 21:20:25 -06:00
dependabot[bot]
e33cbe52c1
chore(deps): bump ansible-lint from 6.8.6 to 6.11.0 ( #213 )
...
Bumps [ansible-lint](https://github.com/ansible/ansible-lint ) from 6.8.6 to 6.11.0.
- [Release notes](https://github.com/ansible/ansible-lint/releases )
- [Commits](https://github.com/ansible/ansible-lint/compare/v6.8.6...v6.11.0 )
---
updated-dependencies:
- dependency-name: ansible-lint
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-29 16:06:26 -06:00
dependabot[bot]
c06af919f3
chore(deps): bump yamllint from 1.28.0 to 1.29.0 ( #201 )
...
Bumps [yamllint](https://github.com/adrienverge/yamllint ) from 1.28.0 to 1.29.0.
- [Release notes](https://github.com/adrienverge/yamllint/releases )
- [Changelog](https://github.com/adrienverge/yamllint/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/adrienverge/yamllint/compare/v1.28.0...v1.29.0 )
---
updated-dependencies:
- dependency-name: yamllint
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-10 22:56:45 -06:00
Techno Tim
b86384c439
fix(raspberrypi): Fix handler name ( #200 )
2023-01-10 21:26:27 -06:00
Techno Tim
bf2bd1edc5
feat(k3s): Updated to v1.24.9+k3s1 ( #197 )
2023-01-06 18:53:40 -06:00
irish1986
e98e3ee77c
Split manifest into separate task for ease of use ( #191 )
2023-01-01 23:04:22 -06:00
dependabot[bot]
78f7a60378
chore(deps): bump pre-commit from 2.20.0 to 2.21.0 ( #188 )
...
Bumps [pre-commit](https://github.com/pre-commit/pre-commit ) from 2.20.0 to 2.21.0.
- [Release notes](https://github.com/pre-commit/pre-commit/releases )
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md )
- [Commits](https://github.com/pre-commit/pre-commit/compare/v2.20.0...v2.21.0 )
---
updated-dependencies:
- dependency-name: pre-commit
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-25 23:50:56 -06:00
dependabot[bot]
e64fea760d
chore(deps): bump ansible-core from 2.13.5 to 2.14.1 ( #176 )
...
Bumps [ansible-core](https://github.com/ansible/ansible ) from 2.13.5 to 2.14.1.
- [Release notes](https://github.com/ansible/ansible/releases )
- [Commits](https://github.com/ansible/ansible/compare/v2.13.5...v2.14.1 )
---
updated-dependencies:
- dependency-name: ansible-core
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-06 22:30:24 -06:00
dependabot[bot]
764e32c778
chore(deps): bump molecule from 4.0.3 to 4.0.4 ( #175 )
...
Bumps [molecule](https://github.com/ansible-community/molecule ) from 4.0.3 to 4.0.4.
- [Release notes](https://github.com/ansible-community/molecule/releases )
- [Commits](https://github.com/ansible-community/molecule/compare/v4.0.3...v4.0.4 )
---
updated-dependencies:
- dependency-name: molecule
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-05 22:26:07 -06:00
Techno Tim
e6cf14ea78
K3s 1 24 8 ( #171 )
...
* chore(dependencies): Updated actions
* chore(dependencies): updated to k3s to v1.24.8+k3s1 and kube-vip to v0.5.7
2022-12-02 23:14:06 -06:00
theonejj
da049dcc28
fix: config warning callback_whitelist ( #170 )
...
Co-authored-by: Jan Jansen <j.jansen@powerspex.nl>
2022-12-01 23:09:02 -06:00
Sherif Metwally
2604caa483
"command" module no longer supports "warn" argument ( #169 )
...
* "command" module no longer supports "warn" argument
* correct indetation lint errors
2022-11-29 20:26:01 -06:00
dependabot[bot]
82d820805f
chore(deps): bump pre-commit-hooks from 4.3.0 to 4.4.0 ( #168 )
...
Bumps [pre-commit-hooks](https://github.com/pre-commit/pre-commit-hooks ) from 4.3.0 to 4.4.0.
- [Release notes](https://github.com/pre-commit/pre-commit-hooks/releases )
- [Changelog](https://github.com/pre-commit/pre-commit-hooks/blob/main/CHANGELOG.md )
- [Commits](https://github.com/pre-commit/pre-commit-hooks/compare/v4.3.0...v4.4.0 )
---
updated-dependencies:
- dependency-name: pre-commit-hooks
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Techno Tim <timothystewart6@gmail.com>
2022-11-24 20:54:33 -06:00
Timothy Stewart
da72884a5b
fix(ci): remove self-hosted
2022-11-23 23:30:06 -06:00
Techno Tim
17a74b66c8
Pre commit fixes ( #167 )
...
* chore(dependencies): updated kube-vip to 0.5.6
* fix(pre-commit): pin to hash
* fix(pre-commit): added more hooks and fixed lint
* fix(pre-commit): added pre-commit hook so we don't have to run it manually
* fix(pre-commit): Added docs to readme
* fix(pre-commit): added texthooks
* fix(pre-commit): pin to hash
* fix(pre-commit): added mor hooks and fixed lint
* fix(lint): Fixing quotes
* fix(ci): only run test if linting passes
* fix(ci): convert to reusable workflows
* fix(pr template): Reorder steps
2022-11-13 22:42:49 -06:00
Techno Tim
88d679ecb6
chore(dependencies): updated kube-vip to 0.5.6 ( #166 )
2022-11-13 17:17:03 -06:00
Techno Tim
6bf3bcce92
docs(README): Updated readme with fixes and context ( #154 )
2022-11-06 14:07:07 -06:00
Techno Tim
cff815a031
Updates ( #151 )
...
* fix(gitignore): Add ansible logs
* chore(metallb): Updated to 0.13.9
* chore(metallb): Updated to 1.24.7
* chore(python): Upddate dependencies
* fix(metal-lb): set to 0.13.7 (latest released)
* fix(requirements.txt): dedup and sort alpha
2022-11-06 12:08:19 -06:00
automationxpert
f892029fcf
Adding additional reboot (optional) ( #139 )
...
* Create reboot.yml
* Create reboot.sh
* Updated the Playbook and Tasks Name
Co-authored-by: Techno Tim <timothystewart6@gmail.com>
2022-11-06 05:54:29 +00:00
snoopy82481
6b37ba5e60
chore: ⚡ Multiple configuration changes ( #144 )
...
Added yaml stdout for better readability, optimize ssh connections, moved become to correct section
2022-11-05 21:54:06 -05:00
Techno Tim
b1fee44403
GitHub Actions Fixes ( #150 )
2022-11-05 19:57:36 -05:00
Techno Tim
a1c7175bd1
fix(requirements.txt): Use pip-compile ( #148 )
...
* fix(requirements.txt): Use pip-compile
* fix(lint): Remove anchors from molecule since they aren't yet supported via lint
* fix(lint): Remove anchors from molecule since they aren't yet supported via lint
2022-11-05 18:37:46 -05:00
dependabot[bot]
69d3bdcd88
chore(deps): bump pyrsistent from 0.18.1 to 0.19.2 ( #141 )
...
Bumps [pyrsistent](https://github.com/tobgu/pyrsistent ) from 0.18.1 to 0.19.2.
- [Release notes](https://github.com/tobgu/pyrsistent/releases )
- [Changelog](https://github.com/tobgu/pyrsistent/blob/master/CHANGES.txt )
- [Commits](https://github.com/tobgu/pyrsistent/commits )
---
updated-dependencies:
- dependency-name: pyrsistent
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-04 23:07:18 -05:00
Techno Tim
5268ef305a
Revert "feat(ci): switching to self-hosted runners ( #133 )" ( #135 )
...
This reverts commit a840571733 .
2022-10-31 18:50:34 -05:00
Techno Tim
a840571733
feat(ci): switching to self-hosted runners ( #133 )
...
* feat(ci): switching to self-hosted runners
* feat(gh-actions-controller): added
* feat(gh-actions-controller): added
2022-10-31 17:56:22 -05:00
dependabot[bot]
b1370406ea
chore(deps): bump ansible-lint from 6.8.3 to 6.8.4 ( #130 )
...
Bumps [ansible-lint](https://github.com/ansible-community/ansible-lint ) from 6.8.3 to 6.8.4.
- [Release notes](https://github.com/ansible-community/ansible-lint/releases )
- [Commits](https://github.com/ansible-community/ansible-lint/compare/v6.8.3...v6.8.4 )
---
updated-dependencies:
- dependency-name: ansible-lint
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-28 17:16:35 -05:00
dependabot[bot]
12d57a07d0
chore(deps): bump ansible-lint from 6.8.2 to 6.8.3 ( #129 )
...
Bumps [ansible-lint](https://github.com/ansible-community/ansible-lint ) from 6.8.2 to 6.8.3.
- [Release notes](https://github.com/ansible-community/ansible-lint/releases )
- [Commits](https://github.com/ansible-community/ansible-lint/compare/v6.8.2...v6.8.3 )
---
updated-dependencies:
- dependency-name: ansible-lint
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-26 21:55:42 -05:00
samerbahri98
4f3b8ec9e0
Pre-commit hooks ( #125 )
...
* feat: pre-commit
* empty
* fix: requirements.txt
2022-10-26 19:15:24 -05:00
dependabot[bot]
45ddd65e74
chore(deps): bump zipp from 3.9.0 to 3.10.0 ( #128 )
...
Bumps [zipp](https://github.com/jaraco/zipp ) from 3.9.0 to 3.10.0.
- [Release notes](https://github.com/jaraco/zipp/releases )
- [Changelog](https://github.com/jaraco/zipp/blob/main/CHANGES.rst )
- [Commits](https://github.com/jaraco/zipp/compare/v3.9.0...v3.10.0 )
---
updated-dependencies:
- dependency-name: zipp
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-26 19:13:53 -05:00
dependabot[bot]
b2a62ea4eb
chore(deps): bump ruamel-yaml-clib from 0.2.6 to 0.2.7 ( #124 )
...
Bumps [ruamel-yaml-clib](https://sourceforge.net/p/ruamel-yaml-clib/code/ci/default/tree ) from 0.2.6 to 0.2.7.
---
updated-dependencies:
- dependency-name: ruamel-yaml-clib
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-22 13:37:11 -05:00
dependabot[bot]
a8697edc99
chore(deps): bump oauthlib from 3.2.1 to 3.2.2 ( #123 )
...
Bumps [oauthlib](https://github.com/oauthlib/oauthlib ) from 3.2.1 to 3.2.2.
- [Release notes](https://github.com/oauthlib/oauthlib/releases )
- [Changelog](https://github.com/oauthlib/oauthlib/blob/v3.2.2/CHANGELOG.rst )
- [Commits](https://github.com/oauthlib/oauthlib/compare/v3.2.1...v3.2.2 )
---
updated-dependencies:
- dependency-name: oauthlib
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-18 19:20:28 -05:00
dependabot[bot]
d3218f5d5c
chore(deps): bump google-auth from 2.12.0 to 2.13.0 ( #122 )
...
Bumps [google-auth](https://github.com/googleapis/google-auth-library-python ) from 2.12.0 to 2.13.0.
- [Release notes](https://github.com/googleapis/google-auth-library-python/releases )
- [Changelog](https://github.com/googleapis/google-auth-library-python/blob/main/CHANGELOG.md )
- [Commits](https://github.com/googleapis/google-auth-library-python/compare/v2.12.0...v2.13.0 )
---
updated-dependencies:
- dependency-name: google-auth
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-17 23:06:58 -05:00
Irakli Nadareishvili
590a8029fd
Removing accidental tear-down step that is clearly a typo ( #117 )
...
Co-authored-by: Techno Tim <timothystewart6@gmail.com>
2022-10-15 14:15:25 -05:00
Techno Tim
cb2fa7c441
k3s, metallb, kube-vip updates ( #119 )
...
* feat(k3s): Updated to v1.24.6+k3s1
* feat(kube-vip): Update to v0.5.5
* feat(metal-lb): Update to v0.13.6
* fix(pip): Freeze requirements
* fix(lint): Fixed ansible-lint
2022-10-15 12:23:50 -05:00
ccoane
14508ec8dc
Add "collection" to the ansible-galaxy command as it will run without making changes if that collection argument is not provided. ( #113 )
2022-10-04 20:41:19 -05:00
Ioannis Angelakopoulos
fb6c9a6866
adds colors to molecule testing in GitHub action ( #109 )
2022-09-28 03:48:25 +00:00
Simon Leiner
d5d02280c1
Fix download-boxes.sh if no boxes are present ( #106 )
...
In case of grep not matching any line, it would return an error code
and thus stop the script. This patch sets "present_boxes" to an empty
value in case any of the commands fail.
2022-09-26 17:21:37 -05:00
Simon Leiner
57e528832b
Fix role order in reset playbook ( #104 )
2022-09-25 12:35:36 -05:00
Ioannis Angelakopoulos
cd76fa05a7
fix master taint implementation - linting problems ( #95 )
...
* add virtual-ip to certificate SAN entries
Adds the kube-vip IP as a Subject Alternative Name in the TLS cert. It is needed otherwise you cannot access the cluster.
* fixes bug with master taints (#1 )
- improves taint logic
* fixes typo
* fixes formatting
* fixes undefined group['node'] if missing from hosts.ini (#2 )
* fixes undefined group['node'] if missing from hosts.ini
- improves application of master taint by centralizing code
* improves molecule testing, fixes linting
* hacking at linter problems, small tweaks
- increases the metallb timeout error due to intermittent testing errors in GitHub actions
* improves context by renaming taint variable
- makes variable boolean
* fix bug
* removes linting hacks
Co-authored-by: Ioannis Angelakopoulos <ioangel@gmail.com>
2022-09-24 20:12:24 -05:00
Simon Leiner
d5b37acd8a
Drop support for CentOS, test Rocky and Debian in CI ( #92 )
...
* Test CentOS 7 in CI
* Drop support for CentOS, test on Rocky and Debian
* Fix reset playbook for Rocky Linux
* Fix typo
* Disable firewalld during testing
Co-authored-by: Techno Tim <timothystewart6@gmail.com>
2022-09-24 05:10:55 +00:00
Simon Leiner
5225493ca0
CI: Fix linting job for ansible-lint 6.6.0 ( #96 )
...
* CI: Fix linting job for ansible-lint 6.6.0
* Increase MetalLB timeout to mitigate CI flakiness
2022-09-23 23:28:21 -05:00
BMeach
4acbe91b6c
Fix master node taints in multi node installs ( #93 )
...
* Taint master nodes if more than one node
* Kick off fork workflow tests
Co-authored-by: Techno Tim <timothystewart6@gmail.com>
2022-09-17 15:56:09 -05:00
Techno Tim
f1c2f3b7dd
fix(github): ignore readme updates ( #94 )
2022-09-17 00:18:56 -05:00
Techno Tim
76718a010c
chore(docs): Updated with ansible collections install ( #89 )
...
* chore(docs): Fixing thanks section
* chore(docs): Updated with collections command
2022-09-15 02:32:34 +00:00
Simon Leiner
a1ef590442
Add support for API servers on IPv6 addresses ( #48 )
...
* Remove duplicate file for deletion
* Add support for IPv6 clusters
To correctly escape IPv6 addresses when ports are used, they must be
wrapped in square brackets [1]. This patch adds support for that,
using Ansible's ipwrap filter [2].
[1]: https://datatracker.ietf.org/doc/html/rfc4038#section-5.1
[2]: http://docs.ansible.com/ansible/latest/collections/ansible/utils/docsite/filters_ipaddr.html#wrapping-ipv6-addresses-in-brackets
* Do not abort other molecule jobs on failure
* Fix cache keys for Vagrant boxes
* Molecule: Derive overrides.yml location from scenario dir
# Conflicts:
# molecule/default/molecule.yml
# molecule/ipv6/molecule.yml
2022-09-10 12:57:38 -05:00
Simon Leiner
9ff3bb6b87
Test single-node cluster ( #78 )
...
* Molecule: Derive overrides.yml location from scenario dir
# Conflicts:
# molecule/default/molecule.yml
# molecule/ipv6/molecule.yml
* Molecule: Add single_node scenario
* Fix get_nodes test for the case of empty groups
2022-09-09 11:47:26 -05:00
Techno Tim
b1df9663fa
fix(ansible): Fix group permissions on tmp folder ( #77 )
2022-09-09 03:00:54 +00:00
Vitalij Dovhanyc
58c3a61bbb
add editorconfig and fix trailing whitespaces ( #68 )
...
Co-authored-by: Techno Tim <timothystewart6@gmail.com>
2022-09-07 20:00:13 -05:00
Simon Leiner
60bc09b085
Mitigate CI flakiness ( #70 )
...
* Increase SSH connection timeouts and retries
* Make MetalLB timeouts configurable
* Retry applying MetalLB CRs
* Fix location of MetalLB CRs template
* Make MetalLB wait logic more compact
* Fix typo
* retrigger 1
* retrigger 2
* retrigger 3
* retrigger 4
* retrigger 5
2022-09-07 18:47:58 -05:00