142 lines
5.1 KiB
INI
142 lines
5.1 KiB
INI
[defaults]
|
|
ansible_managed = Ansible managed file, do not edit directly
|
|
|
|
# some basic default values...
|
|
hostfile = ./hosts
|
|
library = /usr/share/ansible
|
|
remote_tmp = $HOME/.ansible/tmp
|
|
pattern = *
|
|
forks = 5
|
|
poll_interval = 15
|
|
#ask_pass = True
|
|
transport = smart
|
|
remote_port = 22
|
|
|
|
# additional paths to search for roles in, colon seperated
|
|
roles_path = ./rootnet-roles:./external-roles:./roles
|
|
|
|
# uncomment this to disable SSH key host checking
|
|
host_key_checking = False
|
|
|
|
# SSH timeout
|
|
timeout = 10
|
|
|
|
# default user to use for playbooks if user is not specified
|
|
# (/usr/bin/ansible will use current user as default)
|
|
#remote_user = root
|
|
|
|
# logging is off by default unless this path is defined
|
|
# if so defined, consider logrotate
|
|
#log_path = /var/log/ansible.log
|
|
|
|
# default module name for /usr/bin/ansible
|
|
#module_name = command
|
|
|
|
# use this shell for commands executed under sudo
|
|
# you may need to change this to bin/bash in rare instances
|
|
# if sudo is constrained
|
|
#executable = /bin/sh
|
|
|
|
# if inventory variables overlap, does the higher precedence one win
|
|
# or are hash values merged together? The default is 'replace' but
|
|
# this can also be set to 'merge'.
|
|
#hash_behaviour = replace
|
|
|
|
# How to handle variable replacement - as of 1.2, Jinja2 variable syntax is
|
|
# preferred, but we still support the old $variable replacement too.
|
|
# Turn off ${old_style} variables here if you like.
|
|
#legacy_playbook_variables = yes
|
|
|
|
# list any Jinja2 extensions to enable here:
|
|
#jinja2_extensions = jinja2.ext.do,jinja2.ext.i18n
|
|
|
|
# if set, always use this private key file for authentication, same as
|
|
# if passing --private-key to ansible or ansible-playbook
|
|
#private_key_file = ssh/id_rsa
|
|
|
|
display_skipped_hosts = False
|
|
|
|
# by default (as of 1.3), Ansible will raise errors when attempting to dereference
|
|
# Jinja2 variables that are not set in templates or action lines. Uncomment this line
|
|
# to revert the behavior to pre-1.3.
|
|
#error_on_undefined_vars = False
|
|
|
|
# set plugin path directories here, seperate with colons
|
|
action_plugins = /usr/share/ansible_plugins/action_plugins
|
|
callback_plugins = /usr/share/ansible_plugins/callback_plugins
|
|
connection_plugins = /usr/share/ansible_plugins/connection_plugins
|
|
lookup_plugins = /usr/share/ansible_plugins/lookup_plugins
|
|
vars_plugins = /usr/share/ansible_plugins/vars_plugins
|
|
filter_plugins = /usr/share/ansible_plugins/filter_plugins
|
|
|
|
# don't like cows? that's unfortunate.
|
|
# set to 1 if you don't want cowsay support or export ANSIBLE_NOCOWS=1
|
|
nocows = 1
|
|
|
|
# don't like colors either?
|
|
# set to 1 if you don't want colors, or export ANSIBLE_NOCOLOR=1
|
|
nocolor = 0
|
|
|
|
# the CA certificate path used for validating SSL certs. This path
|
|
# should exist on the controlling node, not the target nodes
|
|
# common locations:
|
|
# RHEL/CentOS: /etc/pki/tls/certs/ca-bundle.crt
|
|
# Fedora : /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
|
|
# Ubuntu : /usr/share/ca-certificates/cacert.org/cacert.org.crt
|
|
#ca_file_path =
|
|
|
|
# the http user-agent string to use when fetching urls. Some web server
|
|
# operators block the default urllib user agent as it is frequently used
|
|
# by malicious attacks/scripts, so we set it to something unique to
|
|
# avoid issues.
|
|
#http_user_agent = ansible-agent
|
|
|
|
retry_files_enabled = False # Do not create retry files
|
|
|
|
retry_files_save_path = "~/" # The directory they will go into
|
|
# (home directory by default)
|
|
|
|
[paramiko_connection]
|
|
|
|
# uncomment this line to cause the paramiko connection plugin to not record new host
|
|
# keys encountered. Increases performance on new host additions. Setting works independently of the
|
|
# host key checking setting above.
|
|
#record_host_keys=False
|
|
|
|
# by default, Ansible requests a pseudo-terminal for commands executed under sudo. Uncomment this
|
|
# line to disable this behaviour.
|
|
#pty=False
|
|
|
|
[ssh_connection]
|
|
|
|
# ssh arguments to use
|
|
# Leaving off ControlPersist will result in poor performance, so use
|
|
# paramiko on older platforms rather than removing it
|
|
#ssh_args = -o ControlMaster=auto -o ControlPersist=60s
|
|
ssh_args = -o StrictHostKeyChecking=false -oUserKnownHostsFile=/dev/null -o ControlPersist=60s
|
|
|
|
# The path to use for the ControlPath sockets. This defaults to
|
|
# "%(directory)s/ansible-ssh-%%h-%%p-%%r", however on some systems with
|
|
# very long hostnames or very long path names (caused by long user names or
|
|
# deeply nested home directories) this can exceed the character limit on
|
|
# file socket names (108 characters for most platforms). In that case, you
|
|
# may wish to shorten the string below.
|
|
#
|
|
# Example:
|
|
# control_path = %(directory)s/%%h-%%r
|
|
#control_path = %(directory)s/ansible-ssh-%%h-%%p-%%r
|
|
|
|
# Enabling pipelining reduces the number of SSH operations required to
|
|
# execute a module on the remote server. This can result in a significant
|
|
# performance improvement when enabled, however when using "sudo:" you must
|
|
# first disable 'requiretty' in /etc/sudoers
|
|
#
|
|
# By default, this option is disabled to preserve compatibility with
|
|
# sudoers configurations that have requiretty (the default on many distros).
|
|
#
|
|
pipelining = True
|
|
|
|
# if True, make ansible use scp if the connection type is ssh
|
|
# (default is sftp)
|
|
scp_if_ssh = True
|