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.
This commit is contained in:
Joshua Boniface 2023-12-09 23:56:34 -05:00
parent 865c7d0872
commit 9e21aecf97
1 changed files with 5 additions and 0 deletions

View File

@ -13,6 +13,7 @@
register: apt_res register: apt_res
retries: 5 retries: 5
until: apt_res is success until: apt_res is success
ignore_errors: yes
- name: install pvc packages (coordinators only) - name: install pvc packages (coordinators only)
apt: apt:
@ -26,6 +27,10 @@
register: apt_res register: apt_res
retries: 5 retries: 5
until: apt_res is success 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 - name: install pvc daemon configuration
template: template: