Split PVC bootstrap into separate task
This commit is contained in:
parent
eed7339578
commit
86d4579c82
|
@ -0,0 +1,4 @@
|
||||||
|
---
|
||||||
|
- name: initalize a fresh PVC cluster
|
||||||
|
shell: /usr/bin/pvc init --yes
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue