Compatability with Ansible 2.2

This commit is contained in:
Joshua Boniface 2023-09-01 15:42:19 -04:00
parent 2650014ec1
commit f126d3b071
2 changed files with 7 additions and 8 deletions

View File

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

View File

@ -84,8 +84,7 @@
with_items: with_items:
- { src: "patroni/powerdns-schema.sql", dest: "/etc/postgresql/powerdns-schema.sql" } - { 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 - name: wait 15s for cluster to initialize
pause: pause:
seconds: 15 seconds: 15