Only install pvcapid on coordinators
There should be no reason for the API to be installed on non-coordinator hosts, so separate it out.
This commit is contained in:
parent
15fc3261de
commit
9408bf709c
|
@ -1,19 +1,28 @@
|
||||||
---
|
---
|
||||||
- name: install pvc packages
|
- name: install pvc packages (all)
|
||||||
apt:
|
apt:
|
||||||
name:
|
name:
|
||||||
- pvc-daemon-node
|
- pvc-daemon-node
|
||||||
- pvc-daemon-health
|
- pvc-daemon-health
|
||||||
- pvc-daemon-worker
|
- pvc-daemon-worker
|
||||||
- pvc-daemon-api
|
|
||||||
- pvc-daemon-common
|
- pvc-daemon-common
|
||||||
- pvc-client-cli
|
- pvc-client-cli
|
||||||
- ethtool
|
- ethtool
|
||||||
- jq
|
- jq
|
||||||
# default provisioner script helper programs
|
state: present
|
||||||
|
register: apt_res
|
||||||
|
retries: 5
|
||||||
|
until: apt_res is success
|
||||||
|
|
||||||
|
- name: install pvc packages (coordinators only)
|
||||||
|
apt:
|
||||||
|
name:
|
||||||
|
- pvc-daemon-api
|
||||||
|
# default provisioner script helper programs (pvcworkerd)
|
||||||
- debootstrap
|
- debootstrap
|
||||||
- rinse
|
- rinse
|
||||||
state: present
|
state: present
|
||||||
|
when: is_coordinator
|
||||||
register: apt_res
|
register: apt_res
|
||||||
retries: 5
|
retries: 5
|
||||||
until: apt_res is success
|
until: apt_res is success
|
||||||
|
|
Loading…
Reference in New Issue