Compatability with Ansible 2.2

This commit is contained in:
Joshua Boniface 2019-06-10 15:07:34 -04:00
parent 97d94fe3f2
commit 64c6beabf8
2 changed files with 7 additions and 8 deletions

View File

@ -4,22 +4,22 @@
src: system/blacklist.j2
dest: /etc/modprobe.d/blacklist.conf
- include_tasks: ceph.yml
- include: ceph.yml
tags: pvc-ceph
- include_tasks: zookeeper.yml
- include: zookeeper.yml
tags: pvc-zookeeper
- include_tasks: libvirt.yml
- include: libvirt.yml
tags: pvc-libvirt
- include_tasks: frr.yml
- include: frr.yml
tags: pvc-frr
- include_tasks: patroni.yml
- include: patroni.yml
tags: pvc-patroni
- include_tasks: pvc.yml
- include: pvc.yml
tags: pvc-pvc
run_once: true
delegate_to: "{{ item }}"

View File

@ -84,8 +84,7 @@
with_items:
- { src: "patroni/powerdns-schema.sql", dest: "/etc/postgresql/powerdns-schema.sql" }
- name: set up PVC DNS database on first host
block:
- block:
- name: wait 15s for cluster to initialize
pause:
seconds: 15