Browse Source

Updated ansible config to latest version.

master
Chris Smith 9 years ago
parent
commit
646089476a
1 changed files with 47 additions and 7 deletions
  1. 47
    7
      ansible.cfg

+ 47
- 7
ansible.cfg View File

@@ -22,8 +22,17 @@ sudo_user      = root
22 22
 #ask_pass      = True
23 23
 transport      = smart
24 24
 remote_port    = 22
25
+module_lang    = C
25 26
 
26
-# additional paths to search for roles in, colon seperated
27
+# plays will gather facts by default, which contain information about
28
+# the remote system.
29
+#
30
+# smart - gather by default, but don't regather if already gathered
31
+# implicit - gather by default, turn off with gather_facts: False
32
+# explicit - do not gather by default, must say gather_facts: True
33
+gathering = smart
34
+
35
+# additional paths to search for roles in, colon separated
27 36
 #roles_path    = /etc/ansible/roles
28 37
 
29 38
 # uncomment this to disable SSH key host checking
@@ -59,11 +68,6 @@ timeout = 10
59 68
 # this can also be set to 'merge'.
60 69
 #hash_behaviour = replace
61 70
 
62
-# How to handle variable replacement - as of 1.2, Jinja2 variable syntax is
63
-# preferred, but we still support the old $variable replacement too.
64
-# Turn off ${old_style} variables here if you like.
65
-#legacy_playbook_variables = yes
66
-
67 71
 # list any Jinja2 extensions to enable here:
68 72
 #jinja2_extensions = jinja2.ext.do,jinja2.ext.i18n
69 73
 
@@ -87,7 +91,18 @@ ansible_managed = Ansible managed: {file} modified on %Y-%m-%d %H:%M:%S by {uid}
87 91
 # to revert the behavior to pre-1.3.
88 92
 #error_on_undefined_vars = False
89 93
 
90
-# set plugin path directories here, seperate with colons
94
+# by default (as of 1.6), Ansible may display warnings based on the configuration of the
95
+# system running ansible itself. This may include warnings about 3rd party packages or
96
+# other conditions that should be resolved if possible.
97
+# to disable these warnings, set the following value to False:
98
+#system_warnings = True
99
+
100
+# by default (as of 1.4), Ansible may display deprecation warnings for language
101
+# features that should no longer be used and will be removed in future versions.
102
+# to disable these warnings, set the following value to False:
103
+#deprecation_warnings = True
104
+
105
+# set plugin path directories here, separate with colons
91 106
 action_plugins     = /usr/share/ansible_plugins/action_plugins
92 107
 callback_plugins   = /usr/share/ansible_plugins/callback_plugins
93 108
 connection_plugins = /usr/share/ansible_plugins/connection_plugins
@@ -103,6 +118,20 @@ nocows = 1
103 118
 # set to 1 if you don't want colors, or export ANSIBLE_NOCOLOR=1
104 119
 #nocolor = 1
105 120
 
121
+# the CA certificate path used for validating SSL certs. This path 
122
+# should exist on the controlling node, not the target nodes
123
+# common locations:
124
+# RHEL/CentOS: /etc/pki/tls/certs/ca-bundle.crt
125
+# Fedora     : /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
126
+# Ubuntu     : /usr/share/ca-certificates/cacert.org/cacert.org.crt
127
+#ca_file_path = 
128
+
129
+# the http user-agent string to use when fetching urls. Some web server
130
+# operators block the default urllib user agent as it is frequently used
131
+# by malicious attacks/scripts, so we set it to something unique to 
132
+# avoid issues.
133
+#http_user_agent = ansible-agent
134
+
106 135
 [paramiko_connection]
107 136
 
108 137
 # uncomment this line to cause the paramiko connection plugin to not record new host
@@ -150,3 +179,14 @@ nocows = 1
150 179
 accelerate_port = 5099
151 180
 accelerate_timeout = 30
152 181
 accelerate_connect_timeout = 5.0
182
+
183
+# The daemon timeout is measured in minutes. This time is measured
184
+# from the last activity to the accelerate daemon.
185
+accelerate_daemon_timeout = 30 
186
+
187
+# If set to yes, accelerate_multi_key will allow multiple
188
+# private keys to be uploaded to it, though each user must
189
+# have access to the system via SSH to add a new key. The default
190
+# is "no".
191
+#accelerate_multi_key = yes
192
+

Loading…
Cancel
Save