Compare commits

...

4 Commits

Author SHA1 Message Date
c07b835e33 Fix bad variable 2023-12-10 00:07:08 -05:00
54c9313668 Force all when updating PVC packages
Avoids the overwrite issue in <0.9.83 to 0.9.83.
2023-12-10 00:04:02 -05:00
c488b04939 Ensure new packages are installed as well 2023-12-09 23:59:42 -05:00
9e21aecf97 Ignore errors then check for PVC package
This helps work around apt issues when running from the oneshot
update-pvc-daemons playbook. On a new install, this will be OK. On an
upgrade, the apt tasks will fail OK but then the verification that
pvc-client-cli will ensure that things are actually sane before
proceeding.
2023-12-09 23:56:34 -05:00
2 changed files with 9 additions and 1 deletions

View File

@ -55,7 +55,10 @@
- pvc-daemon-common
- pvc-daemon-api
- pvc-daemon-node
- pvc-daemon-health
- pvc-daemon-worker
state: latest
dpkg_options: "force-all"
register: packages
- name: clean apt archives
@ -150,4 +153,4 @@
- pvcnoded.yaml
- pvcapid.yaml
- autobackup.yaml
when: pvc_config_file_check.stat.exists and pvc_version_check.rc == 0
when: pvc_config_check.stat.exists and pvc_version_check.rc == 0

View File

@ -13,6 +13,7 @@
register: apt_res
retries: 5
until: apt_res is success
ignore_errors: yes
- name: install pvc packages (coordinators only)
apt:
@ -26,6 +27,10 @@
register: apt_res
retries: 5
until: apt_res is success
ignore_errors: yes
- name: check if pvc-client-cli is installed
command: dpkg -l pvc-client-cli
- name: install pvc daemon configuration
template: