Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in Execution Environments for set-repositories #6494

Open
9strands opened this issue May 22, 2023 · 0 comments
Open

Error in Execution Environments for set-repositories #6494

9strands opened this issue May 22, 2023 · 0 comments

Comments

@9strands
Copy link
Collaborator

@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)

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

No branches or pull requests

1 participant