Skip to content
This repository was archived by the owner on Dec 26, 2020. It is now read-only.

Conversation

FazleArefin
Copy link
Contributor

Multiline {{ansible_managed}} strings do not get properly commented without the comment filter.
See http://docs.ansible.com/ansible/playbooks_filters.html#comment-filter

Multiline {{ansible_managed}} strings do not get properly commented
without the comment filter.
See http://docs.ansible.com/ansible/playbooks_filters.html#comment-filter
@rndmh3ro rndmh3ro merged commit 2a4cfdf into dev-sec:master Jul 6, 2017
@rndmh3ro
Copy link
Member

rndmh3ro commented Jul 6, 2017

Thanks, makes sense.

Though I don't like the way Ansible handles that. For me the comments should be automatically added by Ansible if the string is multiline.

Would you like to create PRs in our other hardening roles to improve this?
https://github.com/dev-sec/ansible-os-hardening
https://github.com/dev-sec/ansible-mysql-hardening
https://github.com/dev-sec/ansible-nginx-hardening
https://github.com/dev-sec/ansible-apache-hardening
https://github.com/dev-sec/ansible-windows-hardening

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

Successfully merging this pull request may close these issues.

2 participants