TASK [debops.pki : Sign certificate requests for current hosts] ****
fatal: [node1.domain]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'pki_fact_fqdn'\n\nThe error appears to have been in virt-ansible/roles/external/debops.pki/tasks/main.yml': line 350, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n# Sign certificate requests [[[\n- name: Sign certificate requests for current hosts\n ^ here\n\nexception type: <class 'ansible.errors.AnsibleUndefinedVariable'>\nexception: 'dict object' has no attribute 'pki_fact_fqdn'"}
line 349 of tasks/main.yml:
command: ./lib/pki-authority sign-by-host
{% for host in play_hosts %}{{ hostvars[host].pki_fact_fqdn }} {% endfor %}
TASK [debops.pki : Sign certificate requests for current hosts] **** fatal: [node1.domain]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'pki_fact_fqdn'\n\nThe error appears to have been in virt-ansible/roles/external/debops.pki/tasks/main.yml': line 350, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n# Sign certificate requests [[[\n- name: Sign certificate requests for current hosts\n ^ here\n\nexception type: <class 'ansible.errors.AnsibleUndefinedVariable'>\nexception: 'dict object' has no attribute 'pki_fact_fqdn'"}
line 349 of tasks/main.yml:
command: ./lib/pki-authority sign-by-host {% for host in play_hosts %}{{ hostvars[host].pki_fact_fqdn }} {% endfor %}