TASK [config-quay-enterprise : Verify Clair Endpoint] ****
fatal: [quay-v2.pichuang.local]: FAILED! => {"msg": "The conditional check 'quay_clair_enable is defined and quay_clair_enable|bool and (quay_clair_endpoint is not defined or quay_clair_endpoint|trim == \"\")' failed. The error was: error while evaluating conditional (quay_clair_enable is defined and quay_clair_enable|bool and (quay_clair_endpoint is not defined or quay_clair_endpoint|trim == \"\")): 'ansible.vars.hostvars.HostVarsVars object' has no attribute 'ansible_eth0'\n\nThe error appears to have been in '/home/pichuang/code/infra-ansible/roles/config-quay-enterprise/tasks/main.yml': line 8, 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: Verify Clair Endpoint\n ^ here\n"}
TASK [config-quay-enterprise : Verify Clair Endpoint] **** fatal: [quay-v2.pichuang.local]: FAILED! => {"msg": "The conditional check 'quay_clair_enable is defined and quay_clair_enable|bool and (quay_clair_endpoint is not defined or quay_clair_endpoint|trim == \"\")' failed. The error was: error while evaluating conditional (quay_clair_enable is defined and quay_clair_enable|bool and (quay_clair_endpoint is not defined or quay_clair_endpoint|trim == \"\")): 'ansible.vars.hostvars.HostVarsVars object' has no attribute 'ansible_eth0'\n\nThe error appears to have been in '/home/pichuang/code/infra-ansible/roles/config-quay-enterprise/tasks/main.yml': line 8, 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: Verify Clair Endpoint\n ^ here\n"}