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

Fix CONDITIONAL_BARE_VARS warning #50

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JoyceBabu
Copy link

Fixes the following warning when running the role

TASK [monit : config - Setup mail alerts] *******************************************************************************************************************************************
task path: /home/sysadmin/ansible-playbook/roles/monit/tasks/config.yml:26
[DEPRECATION WARNING]: evaluating monit_mail_enabled as a bare variable, this behaviour will go away and you might need to add |bool to the expression in the future. Also see
CONDITIONAL_BARE_VARS configuration toggle.. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in
ansible.cfg.

@JoyceBabu JoyceBabu force-pushed the feature/ansible-warning-fix branch from f9b621b to 0932bea Compare June 1, 2019 15:26
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

Successfully merging this pull request may close these issues.

1 participant