From f79d1da5be760250cc3690361a9c549b6dee3443 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 1 Sep 2023 15:42:30 -0400 Subject: [PATCH] Update other commands to use new CLI format --- roles/base/templates/etc/profile.d/pvc.sh.j2 | 2 +- roles/pvc/tasks/pvc/bootstrap.yml | 2 +- roles/pvc/templates/pvc/pvc_status.j2 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/base/templates/etc/profile.d/pvc.sh.j2 b/roles/base/templates/etc/profile.d/pvc.sh.j2 index b7d7f75..7832d9b 100644 --- a/roles/base/templates/etc/profile.d/pvc.sh.j2 +++ b/roles/base/templates/etc/profile.d/pvc.sh.j2 @@ -4,6 +4,6 @@ # {{ ansible_managed }} echo -pvc -q status -f short +pvc -q cluster status -f short echo pvc -q node list diff --git a/roles/pvc/tasks/pvc/bootstrap.yml b/roles/pvc/tasks/pvc/bootstrap.yml index cdf929a..71f95e9 100644 --- a/roles/pvc/tasks/pvc/bootstrap.yml +++ b/roles/pvc/tasks/pvc/bootstrap.yml @@ -16,7 +16,7 @@ seconds: 5 - name: initialize a fresh PVC cluster - command: pvc -c local task init -y + command: pvc -c local cluster init -y - name: wait 5s for cluster to stabilize pause: diff --git a/roles/pvc/templates/pvc/pvc_status.j2 b/roles/pvc/templates/pvc/pvc_status.j2 index 8abc76b..df7c080 100755 --- a/roles/pvc/templates/pvc/pvc_status.j2 +++ b/roles/pvc/templates/pvc/pvc_status.j2 @@ -4,4 +4,4 @@ # {{ ansible_managed }} echo "<<>>" -pvc status --format json +pvc cluster status --format json