@ -3,9 +3,9 @@
|
||||
command: ip address add {{ pvc_upstream_floatingip }}/{{ pvc_upstream_netmask }} dev {{ pvc_upstream_device }}
|
||||
ignore_errors: yes
|
||||
|
||||
- name: start the API client
|
||||
- name: start the API daemon
|
||||
service:
|
||||
name: pvc-api.service
|
||||
name: pvcapid.service
|
||||
state: started
|
||||
|
||||
- name: use http as the API request scheme
|
||||
@ -28,9 +28,9 @@
|
||||
url: "{{ api_uri_scheme }}://{{ pvc_api_listen_address }}:{{ pvc_api_listen_port }}/api/v1/initialize"
|
||||
method: POST
|
||||
|
||||
- name: stop the API client
|
||||
- name: stop the API daemon
|
||||
service:
|
||||
name: pvc-api.service
|
||||
name: pvcapid.service
|
||||
state: stopped
|
||||
|
||||
- name: remove floating IP address to upstream interface
|
||||
|
@ -2,10 +2,10 @@
|
||||
- name: install pvc packages
|
||||
apt:
|
||||
name:
|
||||
- pvc-daemon
|
||||
- pvc-client-common
|
||||
- pvc-daemon-node
|
||||
- pvc-daemon-api
|
||||
- pvc-daemon-common
|
||||
- pvc-client-cli
|
||||
- pvc-client-api
|
||||
- debootstrap
|
||||
- ethtool
|
||||
- jq
|
||||
@ -16,10 +16,10 @@
|
||||
src: pvc/{{ item }}.j2
|
||||
dest: /etc/pvc/{{ item }}
|
||||
notify:
|
||||
- restart pvcd
|
||||
- restart pvcnoded
|
||||
with_items:
|
||||
- pvcd.yaml
|
||||
- pvc-api.yaml
|
||||
- pvcnoded.yaml
|
||||
- pvcapid.yaml
|
||||
|
||||
- name: install API SSL certificate file
|
||||
copy:
|
||||
@ -56,8 +56,8 @@
|
||||
enabled: yes
|
||||
with_items:
|
||||
- pvc-flush.service
|
||||
- pvcd.service
|
||||
- pvcd.target
|
||||
- pvcnoded.service
|
||||
- pvc.target
|
||||
|
||||
- name: install daily vacuum script
|
||||
template:
|
||||
|
Reference in New Issue
Block a user