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: with_items:
- pdns.service - pdns.service
- name: bootstrap a fresh cluster - include: pvc/bootstrap.yml
shell: /usr/bin/pvc init
when: bootstrap is defined and bootstrap when: bootstrap is defined and bootstrap
run_once: yes run_once: yes