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

ansible error when packaging install fails #133

Open
dvalinrh opened this issue Dec 10, 2024 · 0 comments
Open

ansible error when packaging install fails #133

dvalinrh opened this issue Dec 10, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@dvalinrh
Copy link
Contributor

We are getting an error on a variable when package installs fail.
TASK [package_install_error : indicate terminate system] ************************************************************************************************************************************************************************************************
fatal: [new_hawkeye]: FAILED! => {"msg": "The conditional check 'config_info.error_repo_errors == 1 and rtc_val != "0"' failed. The error was: error while evaluating conditional (config_info.error_repo_errors == 1 and rtc_val != "0"): {{ install_results.rc }}: 'dict object' has no attribute 'rc'. 'dict object' has no attribute 'rc'. {{ install_results.rc }}: 'dict object' has no attribute 'rc'. 'dict object' has no attribute 'rc'\n\nThe error appears to be in '/home/dvalin/quiet_ansible/ansible_roles/roles/package_install_error/tasks/main.yml': line 6, column 5, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n block:\n - name: indicate termi

As part of this fix we will move the error termination into package_install_error. Doing so eliminates numerous calls to other ansible roles.

@dvalinrh dvalinrh self-assigned this Dec 10, 2024
@grdumas grdumas added the bug Something isn't working label Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants