1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #3288 from espro/devel

Update ansible.cfg
This commit is contained in:
Michael DeHaan 2013-06-20 14:08:45 -07:00
commit c7c5ac1ab6

View file

@ -23,55 +23,55 @@ transport = paramiko
remote_port = 22 remote_port = 22
# change this for alternative sudo implementations # change this for alternative sudo implementations
sudo_exe = sudo sudo_exe = sudo
# what flags to pass to sudo # what flags to pass to sudo
# sudo_flags=-H #sudo_flags = -H
# SSH timeout # SSH timeout
timeout = 10 timeout = 10
# default user to use for playbooks if user is not specified # default user to use for playbooks if user is not specified
# (/usr/bin/ansible will use current user as default) # (/usr/bin/ansible will use current user as default)
remote_user=root #remote_user = root
# logging is off by default unless this path is defined # logging is off by default unless this path is defined
# if so defined, consider logrotate # if so defined, consider logrotate
# log_path = /var/log/ansible.log #log_path = /var/log/ansible.log
# default module name for /usr/bin/ansible # default module name for /usr/bin/ansible
module_name = command #module_name = command
# use this shell for commands executed under sudo # use this shell for commands executed under sudo
# you may need to change this to bin/bash in rare instances # you may need to change this to bin/bash in rare instances
# if sudo is constrained # if sudo is constrained
# executable = /bin/sh #executable = /bin/sh
# if inventory variables overlap, does the higher precedence one win # if inventory variables overlap, does the higher precedence one win
# or are hash values merged together? The default is 'replace' but # or are hash values merged together? The default is 'replace' but
# this can also be set to 'merge'. # this can also be set to 'merge'.
# hash_behaviour=replace #hash_behaviour = replace
# How to handle variable replacement - as of 1.2, Jinja2 variable syntax is # How to handle variable replacement - as of 1.2, Jinja2 variable syntax is
# preferred, but we still support the old $variable replacement too. # preferred, but we still support the old $variable replacement too.
# Turn off ${old_style} variables here if you like. # Turn off ${old_style} variables here if you like.
# legacy_playbook_variables=yes #legacy_playbook_variables = yes
# list any Jinja2 extensions to enable here: # list any Jinja2 extensions to enable here:
# jinja2_extensions=jinja2.ext.do,jinja2.ext.i18n #jinja2_extensions = jinja2.ext.do,jinja2.ext.i18n
# if set, always use this private key file for authentication, same as # if set, always use this private key file for authentication, same as
# if passing --private-key to ansible or ansible-playbook # if passing --private-key to ansible or ansible-playbook
#private_key_file=/path/to/file #private_key_file = /path/to/file
# format of string {{ ansible_managed }} available within Jinja2 # format of string {{ ansible_managed }} available within Jinja2
# templates indicates to users editing templates files will be replaced. # templates indicates to users editing templates files will be replaced.
, replacing {file}, {host} and {uid} and strftime codes with proper values. # replacing {file}, {host} and {uid} and strftime codes with proper values.
ansible_managed = Ansible managed: {file} modified on %Y-%m-%d %H:%M:%S by {uid} on {host} ansible_managed = Ansible managed: {file} modified on %Y-%m-%d %H:%M:%S by {uid} on {host}
# if set, Ansible will raise errors when attempting to redeference Jinja2 # if set, Ansible will raise errors when attempting to redeference Jinja2
# variables that are not set in templates or action lines. # variables that are not set in templates or action lines.
# error_on_undefined_vars = True #error_on_undefined_vars = True
# set plugin path directories here, seperate with colons # set plugin path directories here, seperate with colons
action_plugins = /usr/share/ansible_plugins/action_plugins action_plugins = /usr/share/ansible_plugins/action_plugins
@ -83,7 +83,7 @@ filter_plugins = /usr/share/ansible_plugins/filter_plugins
# don't like cows? that's unfortunate. # don't like cows? that's unfortunate.
# set to 1 if you don't want cowsay support or export ANSIBLE_NOCOWS=1 # set to 1 if you don't want cowsay support or export ANSIBLE_NOCOWS=1
# nocows = 1 #nocows = 1
[paramiko_connection] [paramiko_connection]
@ -94,10 +94,10 @@ filter_plugins = /usr/share/ansible_plugins/filter_plugins
# ssh arguments to use # ssh arguments to use
# Leaving off ControlPersist will result in poor performance, so use # Leaving off ControlPersist will result in poor performance, so use
# paramiko on older platforms rather than removing it # paramiko on older platforms rather than removing it
ssh_args=-o ControlMaster=auto -o ControlPersist=60s -o ControlPath=/tmp/ansible-ssh-%h-%p-%r ssh_args = -o ControlMaster=auto -o ControlPersist=60s -o ControlPath=/tmp/ansible-ssh-%h-%p-%r
# if True, make ansible use scp if the connection type is ssh # if True, make ansible use scp if the connection type is ssh
# (default is sftp) # (default is sftp)
#scp_if_ssh=True #scp_if_ssh = True