Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

Master Branch: The conditional check '{{ job_vars['__meta__']['secondary_deployer']['scm_url'] }} is defined' failed. #8

Open
prakhar1985 opened this issue Oct 2, 2019 · 1 comment

Comments

@prakhar1985
Copy link
Contributor

{
"msg": "The conditional check '{{ job_vars['meta']['secondary_deployer']['scm_url'] }} is defined' failed. The error was: error while evaluating conditional ({{ job_vars['meta']['secondary_deployer']['scm_url'] }} is defined): 'dict object' has no attribute 'secondary_deployer'\n\nThe error appears to be in '/var/lib/awx/projects/_6__babylon/roles/create-job-manifest/tasks/main.yml': line 14, 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- when: "{{ job_vars['meta']['secondary_deployer']['scm_url'] }} is defined"\n ^ here\nWe could be wrong, but this one looks like it might be an issue with\nmissing quotes. Always quote template expression brackets when they\nstart a value. For instance:\n\n with_items:\n - {{ foo }}\n\nShould be written as:\n\n with_items:\n - "{{ foo }}"\n",
"_ansible_no_log": false
}

@tonykay
Copy link
Contributor

tonykay commented Oct 2, 2019

Looks like it needs 2 checks. However for now, before secondary deployer integration, it can be commented out as the functionality is not needed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants