Fix improper designate-manage command usage.

* Implicit use of default pools file path.
  * Use non-destructive update operation.

Change-Id: Ib5f43a83d2267cd824f5215964d4ea1fea697e12
Closes-Bug: #2012292
This commit is contained in:
Gaël THEROND (Fl1nt) 2023-03-21 12:07:05 +01:00 committed by Gaël THEROND
parent 0d42110e01
commit 65ec728f5f
2 changed files with 8 additions and 2 deletions

View File

@ -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] }}"

View File

@ -0,0 +1,6 @@
---
fixes:
- |
Fix improper use of ``--file`` parameter with
``designate-manage pool update`` command.
`LP#2012292 <https://bugs.launchpad.net/kolla-ansible/+bug/2012292>`