Use new package and file names

References parallelvirtualclient/pvc#79
This commit is contained in:
Joshua Boniface 2023-09-01 15:42:23 -04:00
parent 999e50a68f
commit 0e5cb688dc
5 changed files with 16 additions and 16 deletions

View File

@ -40,6 +40,6 @@
shell: "{% if is_coordinator %}sleep {{ 15 * (hostvars[ansible_hostname].ansible_local.host_id|int - 1) }} && systemctl restart ceph-mgr@{{ ansible_hostname }}.service{% endif %}" shell: "{% if is_coordinator %}sleep {{ 15 * (hostvars[ansible_hostname].ansible_local.host_id|int - 1) }} && systemctl restart ceph-mgr@{{ ansible_hostname }}.service{% endif %}"
ignore_errors: true ignore_errors: true
- name: restart pvcd - name: restart pvcnoded
shell: "{% if is_coordinator %}sleep {{ 15 * (hostvars[ansible_hostname].ansible_local.host_id|int - 1) }} &&{% endif %} systemctl restart pvcd.service" shell: "{% if is_coordinator %}sleep {{ 15 * (hostvars[ansible_hostname].ansible_local.host_id|int - 1) }} &&{% endif %} systemctl restart pvcnoded.service"
ignore_errors: true ignore_errors: true

View File

@ -3,9 +3,9 @@
command: ip address add {{ pvc_upstream_floatingip }}/{{ pvc_upstream_netmask }} dev {{ pvc_upstream_device }} command: ip address add {{ pvc_upstream_floatingip }}/{{ pvc_upstream_netmask }} dev {{ pvc_upstream_device }}
ignore_errors: yes ignore_errors: yes
- name: start the API client - name: start the API daemon
service: service:
name: pvc-api.service name: pvcapid.service
state: started state: started
- name: use http as the API request scheme - 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" url: "{{ api_uri_scheme }}://{{ pvc_api_listen_address }}:{{ pvc_api_listen_port }}/api/v1/initialize"
method: POST method: POST
- name: stop the API client - name: stop the API daemon
service: service:
name: pvc-api.service name: pvcapid.service
state: stopped state: stopped
- name: remove floating IP address to upstream interface - name: remove floating IP address to upstream interface

View File

@ -2,10 +2,10 @@
- name: install pvc packages - name: install pvc packages
apt: apt:
name: name:
- pvc-daemon - pvc-daemon-node
- pvc-client-common - pvc-daemon-api
- pvc-daemon-common
- pvc-client-cli - pvc-client-cli
- pvc-client-api
- debootstrap - debootstrap
- ethtool - ethtool
- jq - jq
@ -16,10 +16,10 @@
src: pvc/{{ item }}.j2 src: pvc/{{ item }}.j2
dest: /etc/pvc/{{ item }} dest: /etc/pvc/{{ item }}
notify: notify:
- restart pvcd - restart pvcnoded
with_items: with_items:
- pvcd.yaml - pvcnoded.yaml
- pvc-api.yaml - pvcapid.yaml
- name: install API SSL certificate file - name: install API SSL certificate file
copy: copy:
@ -56,8 +56,8 @@
enabled: yes enabled: yes
with_items: with_items:
- pvc-flush.service - pvc-flush.service
- pvcd.service - pvcnoded.service
- pvcd.target - pvc.target
- name: install daily vacuum script - name: install daily vacuum script
template: template:

View File

@ -1,5 +1,5 @@
--- ---
# pvc-api client configuration # pvcapid configuration
# {{ ansible_managed }} # {{ ansible_managed }}
pvc: pvc:
debug: False debug: False

View File

@ -1,5 +1,5 @@
--- ---
# pvcd cluster configuration # pvcnoded configuration
# {{ ansible_managed }} # {{ ansible_managed }}
pvc: pvc:
node: {% for node in pvc_nodes if node.hostname == ansible_hostname %}{{ node.hostname }}{% endfor %} node: {% for node in pvc_nodes if node.hostname == ansible_hostname %}{{ node.hostname }}{% endfor %}