Split PVC bootstrap into separate task

This commit is contained in:
Joshua Boniface 2019-06-21 14:18:08 -04:00
parent eed7339578
commit 86d4579c82
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