Split PVC bootstrap into separate task
This commit is contained in:
parent
935b4c48ae
commit
dbf6e52f3c
|
@ -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