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_memory_mb' is undefined #46

Open
gk-fschubert opened this issue Sep 4, 2024 · 2 comments
Open

'ansible_memory_mb' is undefined #46

gk-fschubert opened this issue Sep 4, 2024 · 2 comments

Comments

@gk-fschubert
Copy link

The PR https://github.com/geerlingguy/ansible-role-swap/pull/36/commits indroduced a issue for our servers:

fatal: [xxx.xxx.xxx.xxx]: FAILED! => {"msg": "The conditional check 'ansible_memory_mb['swap']['total'] > 0' failed. The error was: error while evaluating conditional (ansible_memory_mb['swap']['total'] > 0): 'ansible_memory_mb' is undefined. 'ansible_memory_mb' is undefined\n\nThe error appears to be in '/ansible-resources/roles/swap/tasks/disable.yml': line 2, 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- name: Disable swap (if configured).\n ^ here\n"}

Copy link

github-actions bot commented Jan 3, 2025

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

@github-actions github-actions bot added the stale label Jan 3, 2025
@gk-fschubert
Copy link
Author

don't close. Issue still exist

@github-actions github-actions bot removed the stale label Jan 10, 2025
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