Split PVC bootstrap into separate task

This commit is contained in:
Joshua Boniface 2023-09-01 15:42:20 -04:00
parent 935b4c48ae
commit dbf6e52f3c
2 changed files with 5 additions and 2 deletions

View File

@ -0,0 +1,4 @@
---
- name: initalize a fresh PVC cluster
shell: /usr/bin/pvc init --yes

View File

@ -23,8 +23,7 @@
with_items:
- pdns.service
- name: bootstrap a fresh cluster
shell: /usr/bin/pvc init
- include: pvc/bootstrap.yml
when: bootstrap is defined and bootstrap
run_once: yes