Compare commits

...

3 Commits

Author SHA1 Message Date
dependabot[bot]
ffafc4179c Merge 8ba7106fca into edf0c9eebd 2024-01-20 02:03:10 -07:00
egandro
edf0c9eebd fix for recreating new control planes (2nd run) (#393)
Co-authored-by: Harald Fielker <harald.fielker@gmail.com>
Co-authored-by: Techno Tim <timothystewart6@gmail.com>
2024-01-19 08:37:14 -06:00
dependabot[bot]
8ba7106fca chore(deps): bump netaddr from 0.10.0 to 0.10.1
Bumps [netaddr](https://github.com/drkjam/netaddr) from 0.10.0 to 0.10.1.
- [Release notes](https://github.com/drkjam/netaddr/releases)
- [Changelog](https://github.com/netaddr/netaddr/blob/master/CHANGELOG)
- [Commits](https://github.com/drkjam/netaddr/compare/0.10.0...0.10.1)

---
updated-dependencies:
- dependency-name: netaddr
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-03 02:06:50 +00:00
2 changed files with 9 additions and 2 deletions

View File

@@ -86,7 +86,7 @@ molecule==4.0.4
# molecule-vagrant # molecule-vagrant
molecule-vagrant==1.0.0 molecule-vagrant==1.0.0
# via -r requirements.in # via -r requirements.in
netaddr==0.10.0 netaddr==0.10.1
# via -r requirements.in # via -r requirements.in
nodeenv==1.7.0 nodeenv==1.7.0
# via pre-commit # via pre-commit

View File

@@ -6,6 +6,13 @@
state: stopped state: stopped
failed_when: false failed_when: false
# k3s-init won't work if the port is already in use
- name: Stop k3s
systemd:
name: k3s
state: stopped
failed_when: false
- name: Clean previous runs of k3s-init # noqa command-instead-of-module - name: Clean previous runs of k3s-init # noqa command-instead-of-module
# The systemd module does not support "reset-failed", so we need to resort to command. # The systemd module does not support "reset-failed", so we need to resort to command.
command: systemctl reset-failed k3s-init command: systemctl reset-failed k3s-init
@@ -29,7 +36,7 @@
-p Restart=on-failure \ -p Restart=on-failure \
--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-init.service"
- name: Verification - name: Verification
when: not ansible_check_mode when: not ansible_check_mode