mirror of
https://github.com/dev-sec/ansible-collection-hardening
synced 2024-11-10 09:14:18 +00:00
192046d4ac
- 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
16 lines
564 B
INI
16 lines
564 B
INI
# config file for ansible -- http://ansible.com/
|
|
# ==============================================
|
|
|
|
# nearly all parameters can be overridden in ansible-playbook
|
|
# or with command line flags. ansible will read ANSIBLE_CONFIG,
|
|
# ansible.cfg in the current working directory, .ansible.cfg in
|
|
# the home directory or /etc/ansible/ansible.cfg, whichever it
|
|
# finds first
|
|
|
|
[defaults]
|
|
ansible_managed = Ansible managed: {file} modified by {uid} on {host}
|
|
# additional paths to search for roles in, colon separated
|
|
roles_path = ../
|
|
|
|
[ssh_connection]
|
|
scp_if_ssh = True
|