diff --git a/ansible/roles/designate/tasks/update_pools.yml b/ansible/roles/designate/tasks/update_pools.yml index 0ac62443a2..edc4e7e6d9 100644 --- a/ansible/roles/designate/tasks/update_pools.yml +++ b/ansible/roles/designate/tasks/update_pools.yml @@ -1,6 +1,6 @@ --- -- name: Update DNS pools +- name: Non-destructive DNS pools update become: true - command: "{{ kolla_container_engine }} exec -t designate_worker designate-manage pool update --file /etc/designate/pools.yaml" + command: "{{ kolla_container_engine }} exec -t designate_worker designate-manage pool update" run_once: True delegate_to: "{{ groups['designate-worker'][0] }}" diff --git a/releasenotes/notes/bug-2012292-fix-designate-pools-update-a367caf1d85c7326e.yaml b/releasenotes/notes/bug-2012292-fix-designate-pools-update-a367caf1d85c7326e.yaml new file mode 100644 index 0000000000..1074a0f0c3 --- /dev/null +++ b/releasenotes/notes/bug-2012292-fix-designate-pools-update-a367caf1d85c7326e.yaml @@ -0,0 +1,6 @@ +--- +fixes: + - | + Fix improper use of ``--file`` parameter with + ``designate-manage pool update`` command. + `LP#2012292 `