Comment 1 for bug 1716663

Revision history for this message
Jean-Philippe Evrard (jean-philippe-evrard) wrote :

Got the same issue to a different branch:

TASK [repo_build : Initialize local facts] *****************************************************************************************************************************************************************************************************************************************************************
task path: /etc/ansible/roles/repo_build/tasks/repo_build_prepare.yml:16
Monday 02 October 2017 14:12:05 +0000 (0:00:00.904) 0:00:32.833 ********
fatal: [aio1]: FAILED! => {
    "failed": true,
    "msg": "The conditional check '('ansible_local' is not defined) or ('openstack_ansible' not in ansible_local) or ('repo_build' not in ansible_local['openstack_ansible']) or ('need_wheel_build' not in ansible_local['openstack_ansible']['repo_build'])' failed. The error was: error while evaluating conditional (('ansible_local' is not defined) or ('openstack_ansible' not in ansible_local) or ('repo_build' not in ansible_local['openstack_ansible']) or ('need_wheel_build' not in ansible_local['openstack_ansible']['repo_build'])): Unable to look up a name or access an attribute in template string ({% if ('ansible_local' is not defined) or ('openstack_ansible' not in ansible_local) or ('repo_build' not in ansible_local['openstack_ansible']) or ('need_wheel_build' not in ansible_local['openstack_ansible']['repo_build']) %} True {% else %} False {% endif %}).\nMake sure your variable name does not contain invalid characters like '-': argument of type 'StrictUndefined' is not iterable\n\nThe error appears to have been in '/etc/ansible/roles/repo_build/tasks/repo_build_prepare.yml': line 16, 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: Initialize local facts\n ^ here\n"
}

NO MORE HOSTS LEFT *****************************************************************************************************************************************************************************************************************************************************************************************

PLAY RECAP *************************************************************************************************************************************************************************************************************************************************************************************************
aio1 : ok=34 changed=0 unreachable=0 failed=1
localhost : ok=1 changed=1 unreachable=0 failed=0