ansible: Add SLES nodes
[lttng-ci.git] / automation / ansible / ansible.cfg
1 # config file for ansible -- http://ansible.com/
2 # ==============================================
3
4 # nearly all parameters can be overridden in ansible-playbook
5 # or with command line flags. ansible will read ANSIBLE_CONFIG,
6 # ansible.cfg in the current working directory, .ansible.cfg in
7 # the home directory or /etc/ansible/ansible.cfg, whichever it
8 # finds first
9
10 [defaults]
11
12 # some basic default values...
13
14 hostfile = /etc/ansible/hosts
15 library = /usr/share/ansible
16 remote_tmp = $HOME/.ansible/tmp
17 pattern = *
18 forks = 5
19 poll_interval = 15
20 sudo_user = root
21 #ask_sudo_pass = True
22 #ask_pass = True
23 transport = smart
24 remote_port = 22
25
26 # additional paths to search for roles in, colon seperated
27 #roles_path = /etc/ansible/roles
28
29 # uncomment this to disable SSH key host checking
30 #host_key_checking = False
31
32 # change this for alternative sudo implementations
33 sudo_exe = sudo
34
35 # what flags to pass to sudo
36 #sudo_flags = -H
37
38 # SSH timeout
39 timeout = 10
40
41 # default user to use for playbooks if user is not specified
42 # (/usr/bin/ansible will use current user as default)
43 remote_user = root
44
45 # logging is off by default unless this path is defined
46 # if so defined, consider logrotate
47 #log_path = /var/log/ansible.log
48
49 # default module name for /usr/bin/ansible
50 #module_name = command
51
52 # use this shell for commands executed under sudo
53 # you may need to change this to bin/bash in rare instances
54 # if sudo is constrained
55 #executable = /bin/sh
56
57 # if inventory variables overlap, does the higher precedence one win
58 # or are hash values merged together? The default is 'replace' but
59 # this can also be set to 'merge'.
60 #hash_behaviour = replace
61
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 # list any Jinja2 extensions to enable here:
68 #jinja2_extensions = jinja2.ext.do,jinja2.ext.i18n
69
70 # if set, always use this private key file for authentication, same as
71 # if passing --private-key to ansible or ansible-playbook
72 #private_key_file = /path/to/file
73
74 # format of string {{ ansible_managed }} available within Jinja2
75 # templates indicates to users editing templates files will be replaced.
76 # replacing {file}, {host} and {uid} and strftime codes with proper values.
77 ansible_managed = Ansible managed: {file} modified on %Y-%m-%d %H:%M:%S by {uid} on {host}
78
79 # by default, ansible-playbook will display "Skipping [host]" if it determines a task
80 # should not be run on a host. Set this to "False" if you don't want to see these "Skipping"
81 # messages. NOTE: the task header will still be shown regardless of whether or not the
82 # task is skipped.
83 #display_skipped_hosts = True
84
85 # by default (as of 1.3), Ansible will raise errors when attempting to dereference
86 # Jinja2 variables that are not set in templates or action lines. Uncomment this line
87 # to revert the behavior to pre-1.3.
88 #error_on_undefined_vars = False
89
90 # set plugin path directories here, seperate with colons
91 action_plugins = /usr/share/ansible_plugins/action_plugins
92 callback_plugins = /usr/share/ansible_plugins/callback_plugins
93 connection_plugins = /usr/share/ansible_plugins/connection_plugins
94 lookup_plugins = /usr/share/ansible_plugins/lookup_plugins
95 vars_plugins = /usr/share/ansible_plugins/vars_plugins
96 filter_plugins = /usr/share/ansible_plugins/filter_plugins
97
98 # don't like cows? that's unfortunate.
99 # set to 1 if you don't want cowsay support or export ANSIBLE_NOCOWS=1
100 #nocows = 1
101
102 # don't like colors either?
103 # set to 1 if you don't want colors, or export ANSIBLE_NOCOLOR=1
104 #nocolor = 1
105
106 # the CA certificate path used for validating SSL certs. This path
107 # should exist on the controlling node, not the target nodes
108 # common locations:
109 # RHEL/CentOS: /etc/pki/tls/certs/ca-bundle.crt
110 # Fedora : /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
111 # Ubuntu : /usr/share/ca-certificates/cacert.org/cacert.org.crt
112 #ca_file_path =
113
114 # the http user-agent string to use when fetching urls. Some web server
115 # operators block the default urllib user agent as it is frequently used
116 # by malicious attacks/scripts, so we set it to something unique to
117 # avoid issues.
118 #http_user_agent = ansible-agent
119
120 [paramiko_connection]
121
122 # uncomment this line to cause the paramiko connection plugin to not record new host
123 # keys encountered. Increases performance on new host additions. Setting works independently of the
124 # host key checking setting above.
125 #record_host_keys=False
126
127 # by default, Ansible requests a pseudo-terminal for commands executed under sudo. Uncomment this
128 # line to disable this behaviour.
129 #pty=False
130
131 [ssh_connection]
132
133 # ssh arguments to use
134 # Leaving off ControlPersist will result in poor performance, so use
135 # paramiko on older platforms rather than removing it
136 #ssh_args = -o ControlMaster=auto -o ControlPersist=60s
137
138 # The path to use for the ControlPath sockets. This defaults to
139 # "%(directory)s/ansible-ssh-%%h-%%p-%%r", however on some systems with
140 # very long hostnames or very long path names (caused by long user names or
141 # deeply nested home directories) this can exceed the character limit on
142 # file socket names (108 characters for most platforms). In that case, you
143 # may wish to shorten the string below.
144 #
145 # Example:
146 # control_path = %(directory)s/%%h-%%r
147 #control_path = %(directory)s/ansible-ssh-%%h-%%p-%%r
148
149 # Enabling pipelining reduces the number of SSH operations required to
150 # execute a module on the remote server. This can result in a significant
151 # performance improvement when enabled, however when using "sudo:" you must
152 # first disable 'requiretty' in /etc/sudoers
153 #
154 # By default, this option is disabled to preserve compatibility with
155 # sudoers configurations that have requiretty (the default on many distros).
156 #
157 #pipelining = False
158
159 # if True, make ansible use scp if the connection type is ssh
160 # (default is sftp)
161 #scp_if_ssh = True
162
163 [accelerate]
164 accelerate_port = 5099
165 accelerate_timeout = 30
166 accelerate_connect_timeout = 5.0
This page took 0.036765 seconds and 4 git commands to generate.