(Openstack-Designate) rndc key not getting generated in /etc/designate

Adivya Singh adivya1.singh at gmail.com
Wed Mar 29 04:55:45 UTC 2023


Hi Team,

My DNS Server located outside the Open Stack, and i am using below
variables in my user_variables.yaml File.

But When i ' m running os-desigante-install.yml Playbook, rndc key are not
generating in /etc/designate Folder

and the playbook fail at the below Task

{"msg": "The task includes an option with an undefined variable. The error
was: 'dict object' has no attribute 'file'\n\nThe error appears to be in
'/etc/ansible/roles/os_designate/tasks/designate_post_install.yml': line
89, column 3, but may\nbe elsewhere in the file depending on the exact
syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Create
Designate rndc key file\n  ^ here\n"}

- name: Create Designate rndc key file
  template:
    src: rndc.key.j2
    dest: "{{ item.file }}"
    owner: "{{ item.owner | default('root') }}"
    group: "{{ item.group | default('root') }}"
    mode: "{{ item.mode | default('0600') }}"
  with_items: "{{ designate_rndc_keys }}"
  when: designate_rndc_keys is defined

and the post-install.yml File looks like this

Any idea on this, Where i am missing







## rndc keys for authenticating with bind9
# define this to create as many key files as are required
# designate_rndc_keys
#   - name: "rndc-key"
#     file: /etc/designate/rndc.key
#     algorithm: "hmac-md5"
#     secret: "<key>"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.openstack.org/pipermail/openstack-discuss/attachments/20230329/e4f6224e/attachment.htm>


More information about the openstack-discuss mailing list