Skip to content
This repository was archived by the owner on Jan 25, 2022. It is now read-only.
This repository was 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

@prakhar1985

Description

@prakhar1985

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions