---
- name: Update DNS pools
  command: docker exec -t designate_worker designate-manage pool update --file /etc/designate/pools.yaml
  when: inventory_hostname in groups['designate-worker'][0]