Compare commits

..

5 Commits

Author SHA1 Message Date
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
6 changed files with 11 additions and 29 deletions

View File

@@ -11,12 +11,12 @@ jobs:
steps: steps:
- name: Check out the codebase - name: Check out the codebase
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # 3.0.2 uses: actions/checkout@e2f20e631ae6d7dd3b768f56a5d2af784dd54791 # v3 2.5.0
with: with:
ref: ${{ github.event.pull_request.head.sha }} ref: ${{ github.event.pull_request.head.sha }}
- name: Set up Python ${{ env.PYTHON_VERSION }} - name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@13ae5bb136fac2878aff31522b9efb785519f984 # 4.3.0 uses: actions/setup-python@75f3110429a8c05be0e1bf360334e4cced2b63fa # 2.3.3
with: with:
python-version: ${{ env.PYTHON_VERSION }} python-version: ${{ env.PYTHON_VERSION }}
cache: 'pip' # caching pip dependencies cache: 'pip' # caching pip dependencies
@@ -56,12 +56,12 @@ jobs:
ensure-pinned-actions: ensure-pinned-actions:
name: Ensure SHA Pinned Actions name: Ensure SHA Pinned Actions
runs-on: self-hosted runs-on: ubuntu-latest
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # 3.0.2 uses: actions/checkout@e2f20e631ae6d7dd3b768f56a5d2af784dd54791 # v3 2.5.0
- name: Ensure SHA pinned actions - name: Ensure SHA pinned actions
uses: zgosalvez/github-actions-ensure-sha-pinned-actions@6ca5574367befbc9efdb2fa25978084159c5902d # 1.3.0 uses: zgosalvez/github-actions-ensure-sha-pinned-actions@af2eb3226618e2494e3d9084f515ad6dcf16e229 # 2.0.1
with: with:
allowlist: | allowlist: |
aws-actions/ aws-actions/

View File

@@ -18,7 +18,7 @@ jobs:
steps: steps:
- name: Check out the codebase - name: Check out the codebase
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # 3.0.2 uses: actions/checkout@e2f20e631ae6d7dd3b768f56a5d2af784dd54791 # v3 2.5.0
with: with:
ref: ${{ github.event.pull_request.head.sha }} ref: ${{ github.event.pull_request.head.sha }}
@@ -54,7 +54,7 @@ jobs:
run: ./.github/download-boxes.sh run: ./.github/download-boxes.sh
- name: Set up Python ${{ env.PYTHON_VERSION }} - name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@13ae5bb136fac2878aff31522b9efb785519f984 # 4.3.0 uses: actions/setup-python@75f3110429a8c05be0e1bf360334e4cced2b63fa # 2.3.3
with: with:
python-version: ${{ env.PYTHON_VERSION }} python-version: ${{ env.PYTHON_VERSION }}
cache: 'pip' # caching pip dependencies cache: 'pip' # caching pip dependencies

View File

@@ -9,7 +9,7 @@ local_tmp = $HOME/.ansible/tmp
timeout = 60 timeout = 60
host_key_checking = False host_key_checking = False
deprecation_warnings = False deprecation_warnings = False
callback_whitelist = profile_tasks callbacks_enabled = profile_tasks
log_path = ./ansible.log log_path = ./ansible.log
[privilege_escalation] [privilege_escalation]

View File

@@ -1,5 +1,5 @@
--- ---
k3s_version: v1.24.7+k3s1 k3s_version: v1.24.8+k3s1
# this is the user that has ssh access to these machines # this is the user that has ssh access to these machines
ansible_user: ansibleuser ansible_user: ansibleuser
systemd_dir: /etc/systemd/system systemd_dir: /etc/systemd/system
@@ -41,7 +41,7 @@ extra_agent_args: >-
{{ extra_args }} {{ extra_args }}
# image tag for kube-vip # image tag for kube-vip
kube_vip_tag_version: "v0.5.6" kube_vip_tag_version: "v0.5.7"
# image tag for metal lb # image tag for metal lb
metal_lb_speaker_tag_version: "v0.13.7" metal_lb_speaker_tag_version: "v0.13.7"

View File

@@ -68,8 +68,6 @@ identify==2.5.8
# via pre-commit # via pre-commit
idna==3.4 idna==3.4
# via requests # via requests
importlib-resources==5.10.0
# via jsonschema
jinja2==3.1.2 jinja2==3.1.2
# via # via
# ansible-core # ansible-core
@@ -118,8 +116,6 @@ pathspec==0.10.1
# via # via
# black # black
# yamllint # yamllint
pkgutil-resolve-name==1.3.10
# via jsonschema
platformdirs==2.5.2 platformdirs==2.5.2
# via # via
# black # black
@@ -128,7 +124,7 @@ pluggy==1.0.0
# via molecule # via molecule
pre-commit==2.20.0 pre-commit==2.20.0
# via -r requirements.in # via -r requirements.in
pre-commit-hooks==4.3.0 pre-commit-hooks==4.4.0
# via -r requirements.in # via -r requirements.in
pyasn1==0.4.8 pyasn1==0.4.8
# via # via
@@ -184,8 +180,6 @@ ruamel-yaml==0.17.21
# via # via
# ansible-lint # ansible-lint
# pre-commit-hooks # pre-commit-hooks
ruamel-yaml-clib==0.2.7
# via ruamel-yaml
selinux==0.2.1 selinux==0.2.1
# via molecule-vagrant # via molecule-vagrant
six==1.16.0 six==1.16.0
@@ -199,14 +193,6 @@ text-unidecode==1.3
# via python-slugify # via python-slugify
toml==0.10.2 toml==0.10.2
# via pre-commit # via pre-commit
tomli==2.0.1
# via
# black
# pre-commit-hooks
typing-extensions==4.4.0
# via
# black
# rich
urllib3==1.26.12 urllib3==1.26.12
# via # via
# kubernetes # kubernetes
@@ -221,8 +207,6 @@ yamllint==1.28.0
# via # via
# -r requirements.in # -r requirements.in
# ansible-lint # ansible-lint
zipp==3.10.0
# via importlib-resources
# The following packages are considered to be unsafe in a requirements file: # The following packages are considered to be unsafe in a requirements file:
# setuptools # setuptools

View File

@@ -66,8 +66,6 @@
--unit=k3s-init \ --unit=k3s-init \
k3s server {{ server_init_args }}" k3s server {{ server_init_args }}"
creates: "{{ systemd_dir }}/k3s.service" creates: "{{ systemd_dir }}/k3s.service"
args:
warn: false # The ansible systemd module does not support transient units
- name: Verification - name: Verification
block: block: