|
@@ -22,8 +22,17 @@ sudo_user = root
|
|
#ask_pass = True
|
|
#ask_pass = True
|
|
transport = smart
|
|
transport = smart
|
|
remote_port = 22
|
|
remote_port = 22
|
|
|
|
+module_lang = C
|
|
|
|
|
|
-# additional paths to search for roles in, colon seperated
|
|
+# plays will gather facts by default, which contain information about
|
|
|
|
+# the remote system.
|
|
|
|
+#
|
|
|
|
+# smart - gather by default, but don't regather if already gathered
|
|
|
|
+# implicit - gather by default, turn off with gather_facts: False
|
|
|
|
+# explicit - do not gather by default, must say gather_facts: True
|
|
|
|
+gathering = implicit
|
|
|
|
+
|
|
|
|
+# additional paths to search for roles in, colon separated
|
|
#roles_path = /etc/ansible/roles
|
|
#roles_path = /etc/ansible/roles
|
|
|
|
|
|
# uncomment this to disable SSH key host checking
|
|
# uncomment this to disable SSH key host checking
|
|
@@ -40,11 +49,11 @@ 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.lo
|
|
|
|
|
|
# default module name for /usr/bin/ansible
|
|
# default module name for /usr/bin/ansible
|
|
#module_name = command
|
|
#module_name = command
|
|
@@ -59,11 +68,6 @@ timeout = 10
|
|
# 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
|
|
|
|
-# 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:
|
|
# list any Jinja2 extensions to enable here:
|
|
#jinja2_extensions = jinja2.ext.do,jinja2.ext.i18n
|
|
#jinja2_extensions = jinja2.ext.do,jinja2.ext.i18n
|
|
|
|
|
|
@@ -87,7 +91,27 @@ display_skipped_hosts = False
|
|
# to revert the behavior to pre-1.3.
|
|
# to revert the behavior to pre-1.3.
|
|
#error_on_undefined_vars = False
|
|
#error_on_undefined_vars = False
|
|
|
|
|
|
-# set plugin path directories here, seperate with colons
|
|
+# by default (as of 1.6), Ansible may display warnings based on the configuration of the
|
|
|
|
+# other conditions that should be resolved if possible.
|
|
|
|
+# system running ansible itself. This may include warnings about 3rd party packages or
|
|
|
|
+# to disable these warnings, set the following value to False:
|
|
|
|
+#system_warnings = True
|
|
|
|
+
|
|
|
|
+# by default (as of 1.4), Ansible may display deprecation warnings for language
|
|
|
|
+# features that should no longer be used and will be removed in future versions.
|
|
|
|
+# to disable these warnings, set the following value to False:
|
|
|
|
+#deprecation_warnings = True
|
|
|
|
+
|
|
|
|
+# (as of 1.8), Ansible can optionally warn when usage of the shell and
|
|
|
|
+# command module appear to be simplified by using a default Ansible module
|
|
|
|
+# instead. These warnings can be silenced by adjusting the following
|
|
|
|
+# setting or adding warn=yes or warn=no to the end of the command line
|
|
|
|
+# parameter string. This will for example suggest using the git module
|
|
|
|
+# instead of shelling out to the git command.
|
|
|
|
+# command_warnings = False
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+# set plugin path directories here, separate with colons
|
|
action_plugins = /usr/share/ansible_plugins/action_plugins
|
|
action_plugins = /usr/share/ansible_plugins/action_plugins
|
|
callback_plugins = /usr/share/ansible_plugins/callback_plugins
|
|
callback_plugins = /usr/share/ansible_plugins/callback_plugins
|
|
connection_plugins = /usr/share/ansible_plugins/connection_plugins
|
|
connection_plugins = /usr/share/ansible_plugins/connection_plugins
|
|
@@ -95,6 +119,12 @@ lookup_plugins = /usr/share/ansible_plugins/lookup_plugins
|
|
vars_plugins = /usr/share/ansible_plugins/vars_plugins
|
|
vars_plugins = /usr/share/ansible_plugins/vars_plugins
|
|
filter_plugins = /usr/share/ansible_plugins/filter_plugins
|
|
filter_plugins = /usr/share/ansible_plugins/filter_plugins
|
|
|
|
|
|
|
|
+# by default callbacks are not loaded for /bin/ansible, enable this if you
|
|
|
|
+# want, for example, a notification or logging callback to also apply to
|
|
|
|
+# /bin/ansible runs
|
|
|
|
+#bin_ansible_callbacks = False
|
|
|
|
+
|
|
|
|
+
|
|
# 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
|
|
@@ -103,6 +133,31 @@ nocows = 1
|
|
# set to 1 if you don't want colors, or export ANSIBLE_NOCOLOR=1
|
|
# set to 1 if you don't want colors, or export ANSIBLE_NOCOLOR=1
|
|
#nocolor = 1
|
|
#nocolor = 1
|
|
|
|
|
|
|
|
+# 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
|
|
|
|
+
|
|
|
|
+# if set to a persistent type (not 'memory', for example 'redis') fact values
|
|
|
|
+# from previous runs in Ansible will be stored. This may be useful when
|
|
|
|
+# wanting to use, for example, IP information from one group of servers
|
|
|
|
+# without having to talk to them in the same playbook run to get their
|
|
|
|
+# current IP information.
|
|
|
|
+fact_caching = memory
|
|
|
|
+
|
|
|
|
+# retry files
|
|
|
|
+#retry_files_enabled = False
|
|
|
|
+#retry_files_save_path = ~/.ansible-retry
|
|
|
|
+
|
|
[paramiko_connection]
|
|
[paramiko_connection]
|
|
|
|
|
|
# uncomment this line to cause the paramiko connection plugin to not record new host
|
|
# uncomment this line to cause the paramiko connection plugin to not record new host
|
|
@@ -151,3 +206,14 @@ ssh_args = -o ControlMaster=auto -o ControlPersist=60s -o ForwardAgent=yes
|
|
accelerate_port = 5099
|
|
accelerate_port = 5099
|
|
accelerate_timeout = 30
|
|
accelerate_timeout = 30
|
|
accelerate_connect_timeout = 5.0
|
|
accelerate_connect_timeout = 5.0
|
|
|
|
+
|
|
|
|
+# The daemon timeout is measured in minutes. This time is measured
|
|
|
|
+# from the last activity to the accelerate daemon.
|
|
|
|
+accelerate_daemon_timeout = 30
|
|
|
|
+
|
|
|
|
+# If set to yes, accelerate_multi_key will allow multiple
|
|
|
|
+# private keys to be uploaded to it, though each user must
|
|
|
|
+# have access to the system via SSH to add a new key. The default
|
|
|
|
+# is "no".
|
|
|
|
+#accelerate_multi_key = yes
|
|
|
|
+
|