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 ansible.cfg and use comment filter #130

Merged
merged 2 commits into from
Jul 17, 2017
Merged

Fix ansible.cfg and use comment filter #130

merged 2 commits into from
Jul 17, 2017

Conversation

fazlearefin
Copy link
Contributor

ansible.cfg

comment filter

- using `%Y-%m-%d` in `ansible_managed` message is not recommended
as deploying from a new git checkout will change the `ansible_managed`
string in the template and Ansible will report the template file as changed
(see http://docs.ansible.com/ansible/intro_configuration.html#ansible-managed )
- add `scp_if_ssh` in ansible.cfg
- 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 129f1a2 into dev-sec:master Jul 17, 2017
rndmh3ro added a commit that referenced this pull request Jul 24, 2020
Remove duplicate ssh_use_dns
divialth pushed a commit to divialth/ansible-collection-hardening that referenced this pull request Aug 3, 2022
Fix ansible.cfg and use comment filter
divialth pushed a commit to divialth/ansible-collection-hardening that referenced this pull request Aug 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants