You have been subscribed to a public bug:
Kolla-ansible deploy fails when configured for an external Bind 9 DNS server.
Installing rndc.key & rndc.conf fails with Permission Denied.
The ansible tasks lack 'become: true'.
Suggest the following fix:
diff --git a/ansible/roles/designate/tasks/backend_external.yml
b/ansible/roles/designate/tasks/backend_external.yml
index 717fb5f52..2541fea0f 100644
--- a/ansible/roles/designate/tasks/backend_external.yml
+++ b/ansible/roles/designate/tasks/backend_external.yml
@@ -9,6 +9,7 @@
- item.key in [ "designate-worker" ]
- inventory_hostname in groups[item.value.group]
- item.value.enabled | bool
+ become: true
with_dict: "{{ designate_services }}"
notify:
- Restart {{ item.key }} container
@@ -23,6 +24,7 @@
- item.key in [ "designate-worker" ]
- inventory_hostname in groups[item.value.group]
- item.value.enabled | bool
+ become: true
with_dict: "{{ designate_services }}"
notify:
- Restart {{ item.key }} container
** Affects: ubuntu
Importance: Undecided
Assignee: Zahid Hasan (akkim31)
Status: Confirmed
--
Designate with external bind9 fails installing rndc.key and rndc.conf
https://bugs.launchpad.net/bugs/1912062
You received this bug notification because you are a member of Ubuntu Bugs,
which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs