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

Commit c2555f4

Browse files
committed
Fix ansible.cfg settings
- 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 ) - no such setting called role_path (see http://docs.ansible.com/ansible/intro_configuration.html ) - scp_if_ssh should be under [ssh_connection] header
1 parent 7b773c0 commit c2555f4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ansible.cfg

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
# finds first
99

1010
[defaults]
11-
ansible_managed = Ansible managed: {file} modified on %Y-%m-%d by {uid} on {host}
11+
ansible_managed = Ansible managed: {file} modified by {uid} on {host}
12+
roles_path = /vagrant
1213

13-
role_path = /vagrant
14+
[ssh_connection]
1415
scp_if_ssh = True

0 commit comments

Comments
 (0)