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>"