Skip to content

Error in Execution Environments for set-repositories #6494

Open
@9strands

Description

@rut31337

https://github.com/redhat-cop/agnosticd/blame/c72b7f18347a3f36590785e3f8904a912fd29ff5/ansible/roles/set-repositories/tasks/main.yml#L10

When I try to run anything on the line in the set repositories from this commit, it fails with the following message:

TASK [set-repositories : Configure satellite repositories] *********************
fatal: [cluster.domain.local]: FAILED! => {"msg": "The conditional check '(ACTION == \"create\" or ACTION == \"provision\")' failed. The error was: error while evaluating conditional ((ACTION == \"create\" or ACTION == \"provision\")): 'ACTION' is undefined. 'ACTION' is undefined\n\nThe error appears to be in '/home/jappleii/development/agnosticd/ansible/roles/set-repositories/tasks/main.yml': line 9, 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:\n  ^ here\n"}

Reverting to commit c72b7f1 and I no longer receive this error (which is prior to the change listed).

Also, I'm running this with Ansible-navigator - perhaps that might explain the error?

Originally posted by @9strands in #6442 (comment)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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