From bb4185af26cc993a71cdd7e7b875d2ec9dafe498 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Thu, 17 Aug 2023 10:43:05 -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