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

Update templates to use the comment filter #195

Open
rahul0705 opened this issue Dec 19, 2019 · 0 comments
Open

Update templates to use the comment filter #195

rahul0705 opened this issue Dec 19, 2019 · 0 comments

Comments

@rahul0705
Copy link

rahul0705 commented Dec 19, 2019

In both templates/mongodb.conf.j2 and templates/monogod_init.conf.j2 the top of the file has:

# {{ ansible_managed }}

This should be changed to:

{{ ansible_managed | comment }}

The reason for this change is, if ansible_managed is multi-lined the comment won't apply to everything, only the first line.

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