| 1 |
# Copyright (c) 2017 Ansible Project |
| 2 |
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) |
| 3 |
--- |
| 4 |
_ANSIBALLZ_COVERAGE_CONFIG: |
| 5 |
name: Configure the AnsiballZ code coverage extension |
| 6 |
description: |
| 7 |
- Enables and configures the AnsiballZ code coverage extension. |
| 8 |
- This is for internal use only. |
| 9 |
env: |
| 10 |
- {name: _ANSIBLE_ANSIBALLZ_COVERAGE_CONFIG} |
| 11 |
vars: |
| 12 |
- {name: _ansible_ansiballz_coverage_config} |
| 13 |
version_added: '2.19' |
| 14 |
_ANSIBALLZ_DEBUGPY_CONFIG: |
| 15 |
name: Configure the AnsiballZ remote debugging extension for debugpy |
| 16 |
description: |
| 17 |
- Enables and configures the AnsiballZ remote debugging extension for debugpy. |
| 18 |
- This is for internal use only. |
| 19 |
env: |
| 20 |
- {name: _ANSIBLE_ANSIBALLZ_DEBUGPY_CONFIG} |
| 21 |
vars: |
| 22 |
- {name: _ansible_ansiballz_debugpy_config} |
| 23 |
version_added: '2.20' |
| 24 |
_ANSIBALLZ_PYDEVD_CONFIG: |
| 25 |
name: Configure the AnsiballZ remote debugging extension for pydevd |
| 26 |
description: |
| 27 |
- Enables and configures the AnsiballZ remote debugging extension for pydevd. |
| 28 |
- This is for internal use only. |
| 29 |
env: |
| 30 |
- {name: _ANSIBLE_ANSIBALLZ_PYDEVD_CONFIG} |
| 31 |
vars: |
| 32 |
- {name: _ansible_ansiballz_pydevd_config} |
| 33 |
version_added: '2.20' |
| 34 |
_ANSIBALLZ_PWSH_COMPRESSION: |
| 35 |
name: Enable or disable compression used for PowerShell AnsiballZ data |
| 36 |
description: |
| 37 |
- Enables or disables compression used for PowerShell AnsiballZ data. |
| 38 |
- This is for internal use only and may be removed without warning. |
| 39 |
env: |
| 40 |
- name: _ANSIBLE_ANSIBALLZ_PWSH_COMPRESSION |
| 41 |
type: boolean |
| 42 |
default: true |
| 43 |
version_added: '2.22' |
| 44 |
_ANSIBLE_CONNECTION_PATH: |
| 45 |
env: |
| 46 |
- name: _ANSIBLE_CONNECTION_PATH |
| 47 |
name: Overrides the location of the Ansible persistent connection helper script. |
| 48 |
description: |
| 49 |
- For internal use only. |
| 50 |
type: path |
| 51 |
version_added: "2.18" |
| 52 |
_CALLBACK_DISPATCH_ERROR_BEHAVIOR: |
| 53 |
name: Callback dispatch error behavior |
| 54 |
default: warning |
| 55 |
description: |
| 56 |
- Action to take when a callback dispatch results in an error. |
| 57 |
type: choices |
| 58 |
choices: &basic_error |
| 59 |
error: issue a 'fatal' error and stop the play |
| 60 |
warning: issue a warning but continue |
| 61 |
ignore: just continue silently |
| 62 |
env: [ { name: _ANSIBLE_CALLBACK_DISPATCH_ERROR_BEHAVIOR } ] |
| 63 |
version_added: '2.19' |
| 64 |
_MODULE_METADATA: |
| 65 |
name: Enable experimental module metadata |
| 66 |
description: |
| 67 |
- Enables experimental module-level metadata controls for serialization profile selection. |
| 68 |
- This is for internal use only. |
| 69 |
type: boolean |
| 70 |
default: false |
| 71 |
env: [ { name: _ANSIBLE_MODULE_METADATA } ] |
| 72 |
version_added: '2.19' |
| 73 |
_SECRETS_INPUT_FILES: |
| 74 |
name: Files used to pre-seed secrets for output masking |
| 75 |
default: [] |
| 76 |
description: |
| 77 |
- A list of files used to pre-seed the values that Ansible masks from its output. |
| 78 |
- >- |
| 79 |
Each file is either YAML or JSON and must be a mapping with a ``version`` key (currently only ``1`` is supported) |
| 80 |
and a ``secrets`` key containing a list of strings. Every value in ``secrets`` is registered so that it is |
| 81 |
redacted wherever it would otherwise appear in Ansible output. |
| 82 |
- >- |
| 83 |
A file with the executable bit set is run instead of read, and its stdout is parsed as the YAML or JSON |
| 84 |
document. |
| 85 |
# Used for runner/AAP, we can make it more public if there is a need. |
| 86 |
- This is for internal use only and may change or be removed without notice. |
| 87 |
env: [{name: _ANSIBLE_SECRETS_INPUT_FILES}] |
| 88 |
type: pathlist |
| 89 |
version_added: "2.22" |
| 90 |
ALLOW_BROKEN_CONDITIONALS: |
| 91 |
# This config option will be deprecated once it no longer has any effect (2.23). |
| 92 |
name: Allow broken conditionals |
| 93 |
default: false |
| 94 |
description: |
| 95 |
- When enabled, this option allows conditionals with non-boolean results to be used. |
| 96 |
- A deprecation warning will be emitted in these cases. |
| 97 |
- By default, non-boolean conditionals result in an error. |
| 98 |
- Such results often indicate unintentional use of templates where they are not supported, resulting in a conditional that is always true. |
| 99 |
- When this option is enabled, conditional expressions which are a literal ``None`` or empty string will evaluate as true for backwards compatibility. |
| 100 |
env: [{name: ANSIBLE_ALLOW_BROKEN_CONDITIONALS}] |
| 101 |
ini: |
| 102 |
- {key: allow_broken_conditionals, section: defaults} |
| 103 |
type: boolean |
| 104 |
version_added: "2.19" |
| 105 |
ALLOW_EMBEDDED_TEMPLATES: |
| 106 |
name: Allow embedded templates |
| 107 |
default: true |
| 108 |
description: |
| 109 |
- When enabled, this option allows embedded templates to be used for specific backward compatibility scenarios. |
| 110 |
- A deprecation warning will be emitted in these cases. |
| 111 |
- First, conditionals (for example, ``failed_when``, ``until``, ``assert.that``) fully enclosed in template delimiters. |
| 112 |
- "Second, string constants in conditionals (for example, ``when: some_var == '{{ some_other_var }}'``)." |
| 113 |
- Finally, positional arguments to lookups (for example, ``lookup('pipe', 'echo {{ some_var }}')``). |
| 114 |
- This feature is deprecated, since embedded templates are unnecessary in these cases. |
| 115 |
- When disabled, use of embedded templates will result in an error. |
| 116 |
- A future release will disable this feature by default. |
| 117 |
env: [{name: ANSIBLE_ALLOW_EMBEDDED_TEMPLATES}] |
| 118 |
ini: |
| 119 |
- {key: allow_embedded_templates, section: defaults} |
| 120 |
type: boolean |
| 121 |
version_added: "2.19" |
| 122 |
ANSIBLE_HOME: |
| 123 |
name: The Ansible home path |
| 124 |
description: |
| 125 |
- The default root path for Ansible config files on the controller. |
| 126 |
default: ~/.ansible |
| 127 |
env: |
| 128 |
- name: ANSIBLE_HOME |
| 129 |
ini: |
| 130 |
- key: home |
| 131 |
section: defaults |
| 132 |
type: path |
| 133 |
version_added: '2.14' |
| 134 |
ANSIBLE_COW_SELECTION: |
| 135 |
name: Cowsay filter selection |
| 136 |
default: default |
| 137 |
description: This allows you to choose a specific cowsay stencil for the banners or use 'random' to cycle through them. |
| 138 |
env: [{name: ANSIBLE_COW_SELECTION}] |
| 139 |
ini: |
| 140 |
- {key: cow_selection, section: defaults} |
| 141 |
ANSIBLE_COW_ACCEPTLIST: |
| 142 |
name: Cowsay filter acceptance list |
| 143 |
default: ['bud-frogs', 'bunny', 'cheese', 'daemon', 'default', 'dragon', 'elephant-in-snake', 'elephant', 'eyes', 'hellokitty', 'kitty', 'luke-koala', 'meow', 'milk', 'moofasa', 'moose', 'ren', 'sheep', 'small', 'stegosaurus', 'stimpy', 'supermilker', 'three-eyes', 'turkey', 'turtle', 'tux', 'udder', 'vader-koala', 'vader', 'www'] |
| 144 |
description: Accept a list of cowsay templates that are 'safe' to use, set to an empty list if you want to enable all installed templates. |
| 145 |
env: |
| 146 |
- name: ANSIBLE_COW_ACCEPTLIST |
| 147 |
version_added: '2.11' |
| 148 |
ini: |
| 149 |
- key: cowsay_enabled_stencils |
| 150 |
section: defaults |
| 151 |
version_added: '2.11' |
| 152 |
type: list |
| 153 |
ANSIBLE_FORCE_COLOR: |
| 154 |
name: Force color output |
| 155 |
default: False |
| 156 |
description: This option forces color mode even when running without a TTY or the "nocolor" setting is True. |
| 157 |
env: [{name: ANSIBLE_FORCE_COLOR}] |
| 158 |
ini: |
| 159 |
- {key: force_color, section: defaults} |
| 160 |
type: boolean |
| 161 |
yaml: {key: display.force_color} |
| 162 |
ANSIBLE_NOCOLOR: |
| 163 |
name: Suppress color output |
| 164 |
default: False |
| 165 |
description: This setting allows suppressing colorizing output, which is used to give a better indication of failure and status information. |
| 166 |
env: |
| 167 |
- name: ANSIBLE_NOCOLOR |
| 168 |
# this is generic convention for CLI programs |
| 169 |
- name: NO_COLOR |
| 170 |
version_added: '2.11' |
| 171 |
ini: |
| 172 |
- {key: nocolor, section: defaults} |
| 173 |
type: boolean |
| 174 |
yaml: {key: display.nocolor} |
| 175 |
ANSIBLE_NOCOWS: |
| 176 |
name: Suppress cowsay output |
| 177 |
default: False |
| 178 |
description: If you have cowsay installed but want to avoid the 'cows' (why????), use this. |
| 179 |
env: [{name: ANSIBLE_NOCOWS}] |
| 180 |
ini: |
| 181 |
- {key: nocows, section: defaults} |
| 182 |
type: boolean |
| 183 |
yaml: {key: display.i_am_no_fun} |
| 184 |
ANSIBLE_COW_PATH: |
| 185 |
name: Set path to cowsay command |
| 186 |
default: null |
| 187 |
description: Specify a custom cowsay path or swap in your cowsay implementation of choice. |
| 188 |
env: [{name: ANSIBLE_COW_PATH}] |
| 189 |
ini: |
| 190 |
- {key: cowpath, section: defaults} |
| 191 |
type: string |
| 192 |
yaml: {key: display.cowpath} |
| 193 |
ANSIBLE_PIPELINING: |
| 194 |
name: Connection pipelining |
| 195 |
default: False |
| 196 |
description: |
| 197 |
- This is a global option, each connection plugin can override either by having more specific options or not supporting pipelining at all. |
| 198 |
- Pipelining, if supported by the connection plugin, reduces the number of network operations required to execute a module on the remote server, |
| 199 |
by executing many Ansible modules without actual file transfer. |
| 200 |
- It can result in a very significant performance improvement when enabled. |
| 201 |
- "However this conflicts with privilege escalation (become). For example, when using 'sudo:' operations you must first |
| 202 |
disable 'requiretty' in /etc/sudoers on all managed hosts, which is why it is disabled by default." |
| 203 |
- This setting will be disabled if ``ANSIBLE_KEEP_REMOTE_FILES`` is enabled. |
| 204 |
env: |
| 205 |
- name: ANSIBLE_PIPELINING |
| 206 |
ini: |
| 207 |
- section: defaults |
| 208 |
key: pipelining |
| 209 |
- section: connection |
| 210 |
key: pipelining |
| 211 |
type: boolean |
| 212 |
ANY_ERRORS_FATAL: |
| 213 |
name: Make Task failures fatal |
| 214 |
default: False |
| 215 |
description: Sets the default value for the any_errors_fatal keyword, if True, Task failures will be considered fatal errors. |
| 216 |
env: |
| 217 |
- name: ANSIBLE_ANY_ERRORS_FATAL |
| 218 |
ini: |
| 219 |
- section: defaults |
| 220 |
key: any_errors_fatal |
| 221 |
type: boolean |
| 222 |
yaml: {key: errors.any_task_errors_fatal} |
| 223 |
version_added: "2.4" |
| 224 |
BECOME_ALLOW_SAME_USER: |
| 225 |
name: Allow becoming the same user |
| 226 |
default: False |
| 227 |
description: |
| 228 |
- When ``False``(default), Ansible will skip using become if the remote user is the same as the become user, as this is normally a redundant operation. |
| 229 |
In other words root sudo to root. |
| 230 |
- If ``True``, this forces Ansible to use the become plugin anyways as there are cases in which this is needed. |
| 231 |
env: [{name: ANSIBLE_BECOME_ALLOW_SAME_USER}] |
| 232 |
ini: |
| 233 |
- {key: become_allow_same_user, section: privilege_escalation} |
| 234 |
type: boolean |
| 235 |
yaml: {key: privilege_escalation.become_allow_same_user} |
| 236 |
BECOME_PASSWORD_FILE: |
| 237 |
name: Become password file |
| 238 |
default: ~ |
| 239 |
description: |
| 240 |
- 'The password file to use for the become plugin. ``--become-password-file``.' |
| 241 |
- If executable, it will be run and the resulting stdout will be used as the password. |
| 242 |
env: [{name: ANSIBLE_BECOME_PASSWORD_FILE}] |
| 243 |
ini: |
| 244 |
- {key: become_password_file, section: defaults} |
| 245 |
type: path |
| 246 |
version_added: '2.12' |
| 247 |
AGNOSTIC_BECOME_PROMPT: |
| 248 |
name: Display an agnostic become prompt |
| 249 |
default: True |
| 250 |
type: boolean |
| 251 |
description: Display an agnostic become prompt instead of displaying a prompt containing the command line supplied become method. |
| 252 |
env: [{name: ANSIBLE_AGNOSTIC_BECOME_PROMPT}] |
| 253 |
ini: |
| 254 |
- {key: agnostic_become_prompt, section: privilege_escalation} |
| 255 |
yaml: {key: privilege_escalation.agnostic_become_prompt} |
| 256 |
version_added: "2.5" |
| 257 |
deprecated: |
| 258 |
why: All external tools should have been migrated to the method agnostic version of the prompt by now. |
| 259 |
alternatives: None, there should be no need for one. |
| 260 |
version: '2.26' |
| 261 |
CACHE_PLUGIN: |
| 262 |
name: Persistent Fact Cache plugin |
| 263 |
default: memory |
| 264 |
description: Chooses which fact cache plugin to use. By default, no cache is used and facts do not persist between runs. |
| 265 |
env: [{name: ANSIBLE_CACHE_PLUGIN}] |
| 266 |
ini: |
| 267 |
- {key: fact_caching, section: defaults} |
| 268 |
yaml: {key: facts.cache.plugin} |
| 269 |
CACHE_PLUGIN_CONNECTION: |
| 270 |
name: Fact Cache Plugin URI |
| 271 |
default: ~ |
| 272 |
description: Defines connection or path information for the fact cache plugin. |
| 273 |
env: [{name: ANSIBLE_CACHE_PLUGIN_CONNECTION}] |
| 274 |
ini: |
| 275 |
- {key: fact_caching_connection, section: defaults} |
| 276 |
yaml: {key: facts.cache.uri} |
| 277 |
CACHE_PLUGIN_PREFIX: |
| 278 |
name: Fact Cache Plugin table prefix |
| 279 |
default: ansible_facts |
| 280 |
description: Prefix to use for fact cache plugin files/tables. |
| 281 |
env: [{name: ANSIBLE_CACHE_PLUGIN_PREFIX}] |
| 282 |
ini: |
| 283 |
- {key: fact_caching_prefix, section: defaults} |
| 284 |
yaml: {key: facts.cache.prefix} |
| 285 |
CACHE_PLUGIN_TIMEOUT: |
| 286 |
name: Fact Cache Plugin expiration timeout |
| 287 |
default: 86400 |
| 288 |
description: Expiration timeout for the fact cache plugin data. |
| 289 |
env: [{name: ANSIBLE_CACHE_PLUGIN_TIMEOUT}] |
| 290 |
ini: |
| 291 |
- {key: fact_caching_timeout, section: defaults} |
| 292 |
type: integer |
| 293 |
yaml: {key: facts.cache.timeout} |
| 294 |
COLLECTIONS_SCAN_SYS_PATH: |
| 295 |
name: Scan PYTHONPATH for installed collections |
| 296 |
description: A boolean to enable or disable scanning the sys.path for installed collections. |
| 297 |
default: true |
| 298 |
type: boolean |
| 299 |
env: |
| 300 |
- {name: ANSIBLE_COLLECTIONS_SCAN_SYS_PATH} |
| 301 |
ini: |
| 302 |
- {key: collections_scan_sys_path, section: defaults} |
| 303 |
COLLECTIONS_PATHS: |
| 304 |
name: An ordered list of root paths for loading installed Ansible collections content. |
| 305 |
description: > |
| 306 |
Colon-separated paths in which Ansible will search for collections content. |
| 307 |
Collections must be in nested *subdirectories*, not directly in these directories. |
| 308 |
For example, if ``COLLECTIONS_PATHS`` includes ``'{{ ANSIBLE_HOME ~ "/collections" }}'``, |
| 309 |
and you want to add ``my.collection`` to that directory, it must be saved as |
| 310 |
``'{{ ANSIBLE_HOME ~ "/collections/ansible_collections/my/collection" }}'``. |
| 311 |
default: '{{ ANSIBLE_HOME ~ "/collections:/usr/share/ansible/collections" }}' |
| 312 |
type: pathspec |
| 313 |
env: |
| 314 |
- name: ANSIBLE_COLLECTIONS_PATH |
| 315 |
version_added: '2.10' |
| 316 |
ini: |
| 317 |
- key: collections_path |
| 318 |
section: defaults |
| 319 |
version_added: '2.10' |
| 320 |
COLLECTIONS_ON_ANSIBLE_VERSION_MISMATCH: |
| 321 |
name: Defines behavior when loading a collection that does not support the current Ansible version |
| 322 |
description: |
| 323 |
- When a collection is loaded that does not support the running Ansible version (with the collection metadata key `requires_ansible`). |
| 324 |
env: [{name: ANSIBLE_COLLECTIONS_ON_ANSIBLE_VERSION_MISMATCH}] |
| 325 |
ini: [{key: collections_on_ansible_version_mismatch, section: defaults}] |
| 326 |
choices: *basic_error |
| 327 |
default: warning |
| 328 |
COLOR_CHANGED: |
| 329 |
name: Color for 'changed' task status |
| 330 |
default: yellow |
| 331 |
description: Defines the color to use on 'Changed' task status. |
| 332 |
env: [{name: ANSIBLE_COLOR_CHANGED}] |
| 333 |
ini: |
| 334 |
- {key: changed, section: colors} |
| 335 |
COLOR_CONSOLE_PROMPT: |
| 336 |
name: "Color for ansible-console's prompt task status" |
| 337 |
default: white |
| 338 |
description: Defines the default color to use for ansible-console. |
| 339 |
env: [{name: ANSIBLE_COLOR_CONSOLE_PROMPT}] |
| 340 |
ini: |
| 341 |
- {key: console_prompt, section: colors} |
| 342 |
version_added: "2.7" |
| 343 |
COLOR_DEBUG: |
| 344 |
name: Color for debug statements |
| 345 |
default: dark gray |
| 346 |
description: Defines the color to use when emitting debug messages. |
| 347 |
env: [{name: ANSIBLE_COLOR_DEBUG}] |
| 348 |
ini: |
| 349 |
- {key: debug, section: colors} |
| 350 |
COLOR_DEPRECATE: |
| 351 |
name: Color for deprecation messages |
| 352 |
default: purple |
| 353 |
description: Defines the color to use when emitting deprecation messages. |
| 354 |
env: [{name: ANSIBLE_COLOR_DEPRECATE}] |
| 355 |
ini: |
| 356 |
- {key: deprecate, section: colors} |
| 357 |
COLOR_DIFF_ADD: |
| 358 |
name: Color for diff added display |
| 359 |
default: green |
| 360 |
description: Defines the color to use when showing added lines in diffs. |
| 361 |
env: [{name: ANSIBLE_COLOR_DIFF_ADD}] |
| 362 |
ini: |
| 363 |
- {key: diff_add, section: colors} |
| 364 |
yaml: {key: display.colors.diff.add} |
| 365 |
COLOR_DIFF_LINES: |
| 366 |
name: Color for diff lines display |
| 367 |
default: cyan |
| 368 |
description: Defines the color to use when showing diffs. |
| 369 |
env: [{name: ANSIBLE_COLOR_DIFF_LINES}] |
| 370 |
ini: |
| 371 |
- {key: diff_lines, section: colors} |
| 372 |
COLOR_DIFF_REMOVE: |
| 373 |
name: Color for diff removed display |
| 374 |
default: red |
| 375 |
description: Defines the color to use when showing removed lines in diffs. |
| 376 |
env: [{name: ANSIBLE_COLOR_DIFF_REMOVE}] |
| 377 |
ini: |
| 378 |
- {key: diff_remove, section: colors} |
| 379 |
COLOR_ERROR: |
| 380 |
name: Color for error messages |
| 381 |
default: red |
| 382 |
description: Defines the color to use when emitting error messages. |
| 383 |
env: [{name: ANSIBLE_COLOR_ERROR}] |
| 384 |
ini: |
| 385 |
- {key: error, section: colors} |
| 386 |
yaml: {key: colors.error} |
| 387 |
COLOR_HIGHLIGHT: |
| 388 |
name: Color for highlighting |
| 389 |
default: white |
| 390 |
description: Defines the color to use for highlighting. |
| 391 |
env: [{name: ANSIBLE_COLOR_HIGHLIGHT}] |
| 392 |
ini: |
| 393 |
- {key: highlight, section: colors} |
| 394 |
COLOR_INCLUDED: |
| 395 |
name: Color for 'included' task status |
| 396 |
default: cyan |
| 397 |
description: Defines the color to use when showing 'Included' task status. |
| 398 |
env: [{name: ANSIBLE_COLOR_INCLUDED}] |
| 399 |
ini: |
| 400 |
- {key: included, section: colors} |
| 401 |
version_added: '2.18' |
| 402 |
COLOR_OK: |
| 403 |
name: Color for 'ok' task status |
| 404 |
default: green |
| 405 |
description: Defines the color to use when showing 'OK' task status. |
| 406 |
env: [{name: ANSIBLE_COLOR_OK}] |
| 407 |
ini: |
| 408 |
- {key: ok, section: colors} |
| 409 |
COLOR_SKIP: |
| 410 |
name: Color for 'skip' task status |
| 411 |
default: cyan |
| 412 |
description: Defines the color to use when showing 'Skipped' task status. |
| 413 |
env: [{name: ANSIBLE_COLOR_SKIP}] |
| 414 |
ini: |
| 415 |
- {key: skip, section: colors} |
| 416 |
COLOR_UNREACHABLE: |
| 417 |
name: Color for 'unreachable' host state |
| 418 |
default: bright red |
| 419 |
description: Defines the color to use on 'Unreachable' status. |
| 420 |
env: [{name: ANSIBLE_COLOR_UNREACHABLE}] |
| 421 |
ini: |
| 422 |
- {key: unreachable, section: colors} |
| 423 |
COLOR_VERBOSE: |
| 424 |
name: Color for verbose messages |
| 425 |
default: blue |
| 426 |
description: Defines the color to use when emitting verbose messages. In other words, those that show with '-v's. |
| 427 |
env: [{name: ANSIBLE_COLOR_VERBOSE}] |
| 428 |
ini: |
| 429 |
- {key: verbose, section: colors} |
| 430 |
COLOR_WARN: |
| 431 |
name: Color for warning messages |
| 432 |
default: bright purple |
| 433 |
description: Defines the color to use when emitting warning messages. |
| 434 |
env: [{name: ANSIBLE_COLOR_WARN}] |
| 435 |
ini: |
| 436 |
- {key: warn, section: colors} |
| 437 |
COLOR_DOC_MODULE: |
| 438 |
name: Color for module name in the ansible-doc output |
| 439 |
default: yellow |
| 440 |
description: Defines the color to use when emitting a module name in the ansible-doc output. |
| 441 |
env: [{name: ANSIBLE_COLOR_DOC_MODULE}] |
| 442 |
ini: |
| 443 |
- {key: doc_module, section: colors} |
| 444 |
version_added: '2.18' |
| 445 |
COLOR_DOC_REFERENCE: |
| 446 |
name: Color for cross-reference in the ansible-doc output |
| 447 |
default: magenta |
| 448 |
description: Defines the color to use when emitting cross-reference in the ansible-doc output. |
| 449 |
env: [{name: ANSIBLE_COLOR_DOC_REFERENCE}] |
| 450 |
ini: |
| 451 |
- {key: doc_reference, section: colors} |
| 452 |
version_added: '2.18' |
| 453 |
COLOR_DOC_LINK: |
| 454 |
name: Color for Link in ansible-doc output |
| 455 |
default: cyan |
| 456 |
description: Defines the color to use when emitting a link in the ansible-doc output. |
| 457 |
env: [{name: ANSIBLE_COLOR_DOC_LINK}] |
| 458 |
ini: |
| 459 |
- {key: doc_link, section: colors} |
| 460 |
version_added: '2.18' |
| 461 |
COLOR_DOC_DEPRECATED: |
| 462 |
name: Color for deprecated value in ansible-doc output |
| 463 |
default: magenta |
| 464 |
description: Defines the color to use when emitting a deprecated value in the ansible-doc output. |
| 465 |
env: [{name: ANSIBLE_COLOR_DOC_DEPRECATED}] |
| 466 |
ini: |
| 467 |
- {key: doc_deprecated, section: colors} |
| 468 |
version_added: '2.18' |
| 469 |
COLOR_DOC_CONSTANT: |
| 470 |
name: Color for constant in ansible-doc output |
| 471 |
default: dark gray |
| 472 |
description: Defines the color to use when emitting a constant in the ansible-doc output. |
| 473 |
env: [{name: ANSIBLE_COLOR_DOC_CONSTANT}] |
| 474 |
ini: |
| 475 |
- {key: doc_constant, section: colors} |
| 476 |
version_added: '2.18' |
| 477 |
COLOR_DOC_PLUGIN: |
| 478 |
name: Color for the plugin in ansible-doc output |
| 479 |
default: yellow |
| 480 |
description: Defines the color to use when emitting a plugin name in the ansible-doc output. |
| 481 |
env: [{name: ANSIBLE_COLOR_DOC_PLUGIN}] |
| 482 |
ini: |
| 483 |
- {key: doc_plugin, section: colors} |
| 484 |
version_added: '2.18' |
| 485 |
CONNECTION_PASSWORD_FILE: |
| 486 |
name: Connection password file |
| 487 |
default: ~ |
| 488 |
description: 'The password file to use for the connection plugin. ``--connection-password-file``.' |
| 489 |
env: [{name: ANSIBLE_CONNECTION_PASSWORD_FILE}] |
| 490 |
ini: |
| 491 |
- {key: connection_password_file, section: defaults} |
| 492 |
type: path |
| 493 |
version_added: '2.12' |
| 494 |
COVERAGE_REMOTE_OUTPUT: |
| 495 |
name: Sets the output directory and filename prefix to generate coverage run info. |
| 496 |
description: |
| 497 |
- Sets the output directory on the remote host to generate coverage reports into. |
| 498 |
- Currently only used for remote coverage on PowerShell modules. |
| 499 |
- This is for internal use only. |
| 500 |
env: |
| 501 |
- {name: _ANSIBLE_COVERAGE_REMOTE_OUTPUT} |
| 502 |
vars: |
| 503 |
- {name: _ansible_coverage_remote_output} |
| 504 |
type: str |
| 505 |
version_added: '2.9' |
| 506 |
COVERAGE_REMOTE_PATHS: |
| 507 |
name: Sets the list of paths to run coverage for. |
| 508 |
description: |
| 509 |
- A list of paths for files on the Ansible controller to run coverage for when executing on the remote host. |
| 510 |
- Only files that match the path glob will have their coverage collected. |
| 511 |
- Multiple path globs can be specified and are separated by ``:``. |
| 512 |
- Currently only used for remote coverage on PowerShell modules. |
| 513 |
- This is for internal use only. |
| 514 |
default: '*' |
| 515 |
env: |
| 516 |
- {name: _ANSIBLE_COVERAGE_REMOTE_PATH_FILTER} |
| 517 |
type: str |
| 518 |
version_added: '2.9' |
| 519 |
ACTION_WARNINGS: |
| 520 |
name: Toggle action warnings |
| 521 |
default: True |
| 522 |
description: |
| 523 |
- By default, Ansible will issue a warning when received from a task action (module or action plugin). |
| 524 |
- These warnings can be silenced by adjusting this setting to False. |
| 525 |
env: [{name: ANSIBLE_ACTION_WARNINGS}] |
| 526 |
ini: |
| 527 |
- {key: action_warnings, section: defaults} |
| 528 |
type: boolean |
| 529 |
version_added: "2.5" |
| 530 |
LOCALHOST_WARNING: |
| 531 |
name: Warning when using implicit inventory with only localhost |
| 532 |
default: True |
| 533 |
description: |
| 534 |
- By default, Ansible will issue a warning when there are no hosts in the |
| 535 |
inventory. |
| 536 |
- These warnings can be silenced by adjusting this setting to False. |
| 537 |
env: [{name: ANSIBLE_LOCALHOST_WARNING}] |
| 538 |
ini: |
| 539 |
- {key: localhost_warning, section: defaults} |
| 540 |
type: boolean |
| 541 |
version_added: "2.6" |
| 542 |
LOG_VERBOSITY: |
| 543 |
name: Default log verbosity |
| 544 |
description: |
| 545 |
- This will set log verbosity if higher than the normal display verbosity, otherwise it will match that. |
| 546 |
env: [{name: ANSIBLE_LOG_VERBOSITY}] |
| 547 |
ini: |
| 548 |
- {key: log_verbosity, section: defaults} |
| 549 |
type: int |
| 550 |
version_added: "2.17" |
| 551 |
INVENTORY_UNPARSED_WARNING: |
| 552 |
name: Warning when no inventory files can be parsed, resulting in an implicit inventory with only localhost |
| 553 |
default: True |
| 554 |
description: |
| 555 |
- By default, Ansible will issue a warning when no inventory was loaded and notes that |
| 556 |
it will use an implicit localhost-only inventory. |
| 557 |
- These warnings can be silenced by adjusting this setting to False. |
| 558 |
env: [{name: ANSIBLE_INVENTORY_UNPARSED_WARNING}] |
| 559 |
ini: |
| 560 |
- {key: inventory_unparsed_warning, section: inventory} |
| 561 |
type: boolean |
| 562 |
version_added: "2.14" |
| 563 |
DOC_FRAGMENT_PLUGIN_PATH: |
| 564 |
name: documentation fragment plugins path |
| 565 |
default: '{{ ANSIBLE_HOME ~ "/plugins/doc_fragments:/usr/share/ansible/plugins/doc_fragments" }}' |
| 566 |
description: Colon-separated paths in which Ansible will search for Documentation Fragments Plugins. |
| 567 |
env: [{name: ANSIBLE_DOC_FRAGMENT_PLUGINS}] |
| 568 |
ini: |
| 569 |
- {key: doc_fragment_plugins, section: defaults} |
| 570 |
type: pathspec |
| 571 |
DEFAULT_ACTION_PLUGIN_PATH: |
| 572 |
name: Action plugins path |
| 573 |
default: '{{ ANSIBLE_HOME ~ "/plugins/action:/usr/share/ansible/plugins/action" }}' |
| 574 |
description: Colon-separated paths in which Ansible will search for Action Plugins. |
| 575 |
env: [{name: ANSIBLE_ACTION_PLUGINS}] |
| 576 |
ini: |
| 577 |
- {key: action_plugins, section: defaults} |
| 578 |
type: pathspec |
| 579 |
yaml: {key: plugins.action.path} |
| 580 |
DEFAULT_ALLOW_UNSAFE_LOOKUPS: |
| 581 |
name: Allow unsafe lookups |
| 582 |
default: False |
| 583 |
description: |
| 584 |
- "When enabled, this option allows lookup plugins (whether used in variables as ``{{lookup('foo')}}`` or as a loop as with_foo) |
| 585 |
to return data that is not marked 'unsafe'." |
| 586 |
- By default, such data is marked as unsafe to prevent the templating engine from evaluating any jinja2 templating language, |
| 587 |
as this could represent a security risk. This option is provided to allow for backward compatibility, |
| 588 |
however, users should first consider adding allow_unsafe=True to any lookups that may be expected to contain data that may be run |
| 589 |
through the templating engine late. |
| 590 |
env: [] |
| 591 |
ini: |
| 592 |
- {key: allow_unsafe_lookups, section: defaults} |
| 593 |
type: boolean |
| 594 |
version_added: "2.2.3" |
| 595 |
deprecated: |
| 596 |
why: This option is no longer used in the Ansible Core code base. |
| 597 |
version: "2.23" |
| 598 |
alternatives: Lookup plugins are responsible for tagging strings containing templates to allow evaluation as a template. |
| 599 |
DEFAULT_ASK_PASS: |
| 600 |
name: Ask for the login password |
| 601 |
default: False |
| 602 |
description: |
| 603 |
- This controls whether an Ansible playbook should prompt for a login password. |
| 604 |
If using SSH keys for authentication, you probably do not need to change this setting. |
| 605 |
env: [{name: ANSIBLE_ASK_PASS}] |
| 606 |
ini: |
| 607 |
- {key: ask_pass, section: defaults} |
| 608 |
type: boolean |
| 609 |
yaml: {key: defaults.ask_pass} |
| 610 |
DEFAULT_ASK_VAULT_PASS: |
| 611 |
name: Ask for the vault password(s) |
| 612 |
default: False |
| 613 |
description: |
| 614 |
- This controls whether an Ansible playbook should prompt for a vault password. |
| 615 |
env: [{name: ANSIBLE_ASK_VAULT_PASS}] |
| 616 |
ini: |
| 617 |
- {key: ask_vault_pass, section: defaults} |
| 618 |
type: boolean |
| 619 |
DEFAULT_BECOME: |
| 620 |
name: Enable privilege escalation (become) |
| 621 |
default: False |
| 622 |
description: Toggles the use of privilege escalation, allowing you to 'become' another user after login. |
| 623 |
env: [{name: ANSIBLE_BECOME}] |
| 624 |
ini: |
| 625 |
- {key: become, section: privilege_escalation} |
| 626 |
type: boolean |
| 627 |
DEFAULT_BECOME_ASK_PASS: |
| 628 |
name: Ask for the privilege escalation (become) password |
| 629 |
default: False |
| 630 |
description: Toggle to prompt for privilege escalation password. |
| 631 |
env: [{name: ANSIBLE_BECOME_ASK_PASS}] |
| 632 |
ini: |
| 633 |
- {key: become_ask_pass, section: privilege_escalation} |
| 634 |
type: boolean |
| 635 |
DEFAULT_BECOME_METHOD: |
| 636 |
name: Choose privilege escalation method |
| 637 |
default: 'sudo' |
| 638 |
description: Privilege escalation method to use when `become` is enabled. |
| 639 |
env: [{name: ANSIBLE_BECOME_METHOD}] |
| 640 |
ini: |
| 641 |
- {section: privilege_escalation, key: become_method} |
| 642 |
DEFAULT_BECOME_EXE: |
| 643 |
name: Choose 'become' executable |
| 644 |
default: ~ |
| 645 |
description: 'executable to use for privilege escalation, otherwise Ansible will depend on PATH.' |
| 646 |
env: [{name: ANSIBLE_BECOME_EXE}] |
| 647 |
ini: |
| 648 |
- {key: become_exe, section: privilege_escalation} |
| 649 |
DEFAULT_BECOME_FLAGS: |
| 650 |
name: Set 'become' executable options |
| 651 |
default: '' |
| 652 |
description: Flags to pass to the privilege escalation executable. |
| 653 |
env: [{name: ANSIBLE_BECOME_FLAGS}] |
| 654 |
ini: |
| 655 |
- {key: become_flags, section: privilege_escalation} |
| 656 |
BECOME_PLUGIN_PATH: |
| 657 |
name: Become plugins path |
| 658 |
default: '{{ ANSIBLE_HOME ~ "/plugins/become:/usr/share/ansible/plugins/become" }}' |
| 659 |
description: Colon-separated paths in which Ansible will search for Become Plugins. |
| 660 |
env: [{name: ANSIBLE_BECOME_PLUGINS}] |
| 661 |
ini: |
| 662 |
- {key: become_plugins, section: defaults} |
| 663 |
type: pathspec |
| 664 |
version_added: "2.8" |
| 665 |
DEFAULT_BECOME_USER: |
| 666 |
# FIXME: should really be blank and make -u passing optional depending on it |
| 667 |
name: Set the user you 'become' via privilege escalation |
| 668 |
default: root |
| 669 |
description: The user your login/remote user 'becomes' when using privilege escalation, most systems will use 'root' when no user is specified. |
| 670 |
env: [{name: ANSIBLE_BECOME_USER}] |
| 671 |
ini: |
| 672 |
- {key: become_user, section: privilege_escalation} |
| 673 |
yaml: {key: become.user} |
| 674 |
DEFAULT_CACHE_PLUGIN_PATH: |
| 675 |
name: Cache Plugins Path |
| 676 |
default: '{{ ANSIBLE_HOME ~ "/plugins/cache:/usr/share/ansible/plugins/cache" }}' |
| 677 |
description: Colon-separated paths in which Ansible will search for Cache Plugins. |
| 678 |
env: [{name: ANSIBLE_CACHE_PLUGINS}] |
| 679 |
ini: |
| 680 |
- {key: cache_plugins, section: defaults} |
| 681 |
type: pathspec |
| 682 |
DEFAULT_CALLBACK_PLUGIN_PATH: |
| 683 |
name: Callback Plugins Path |
| 684 |
default: '{{ ANSIBLE_HOME ~ "/plugins/callback:/usr/share/ansible/plugins/callback" }}' |
| 685 |
description: Colon-separated paths in which Ansible will search for Callback Plugins. |
| 686 |
env: [{name: ANSIBLE_CALLBACK_PLUGINS}] |
| 687 |
ini: |
| 688 |
- {key: callback_plugins, section: defaults} |
| 689 |
type: pathspec |
| 690 |
yaml: {key: plugins.callback.path} |
| 691 |
CALLBACKS_ENABLED: |
| 692 |
name: Enable callback plugins that require it. |
| 693 |
default: [] |
| 694 |
description: |
| 695 |
- "List of enabled callbacks, not all callbacks need enabling, |
| 696 |
but many of those shipped with Ansible do as we don't want them activated by default." |
| 697 |
env: |
| 698 |
- name: ANSIBLE_CALLBACKS_ENABLED |
| 699 |
version_added: '2.11' |
| 700 |
ini: |
| 701 |
- key: callbacks_enabled |
| 702 |
section: defaults |
| 703 |
version_added: '2.11' |
| 704 |
type: list |
| 705 |
DEFAULT_CLICONF_PLUGIN_PATH: |
| 706 |
name: Cliconf Plugins Path |
| 707 |
default: '{{ ANSIBLE_HOME ~ "/plugins/cliconf:/usr/share/ansible/plugins/cliconf" }}' |
| 708 |
description: Colon-separated paths in which Ansible will search for Cliconf Plugins. |
| 709 |
env: [{name: ANSIBLE_CLICONF_PLUGINS}] |
| 710 |
ini: |
| 711 |
- {key: cliconf_plugins, section: defaults} |
| 712 |
type: pathspec |
| 713 |
DEFAULT_CONNECTION_PLUGIN_PATH: |
| 714 |
name: Connection Plugins Path |
| 715 |
default: '{{ ANSIBLE_HOME ~ "/plugins/connection:/usr/share/ansible/plugins/connection" }}' |
| 716 |
description: Colon-separated paths in which Ansible will search for Connection Plugins. |
| 717 |
env: [{name: ANSIBLE_CONNECTION_PLUGINS}] |
| 718 |
ini: |
| 719 |
- {key: connection_plugins, section: defaults} |
| 720 |
type: pathspec |
| 721 |
yaml: {key: plugins.connection.path} |
| 722 |
DEFAULT_DEBUG: |
| 723 |
name: Debug mode |
| 724 |
default: False |
| 725 |
description: |
| 726 |
- "Toggles debug output in Ansible. This is *very* verbose and can hinder |
| 727 |
multiprocessing. Debug output can also include secret information |
| 728 |
despite no_log settings being enabled, which means debug mode should not be used in |
| 729 |
production." |
| 730 |
env: [{name: ANSIBLE_DEBUG}] |
| 731 |
ini: |
| 732 |
- {key: debug, section: defaults} |
| 733 |
type: boolean |
| 734 |
DEFAULT_EXECUTABLE: |
| 735 |
name: Target shell executable |
| 736 |
default: /bin/sh |
| 737 |
description: |
| 738 |
- "This indicates the command to use to spawn a shell under, which is required for Ansible's execution needs on a target. |
| 739 |
Users may need to change this in rare instances when shell usage is constrained, but in most cases, it may be left as is." |
| 740 |
env: [{name: ANSIBLE_EXECUTABLE}] |
| 741 |
ini: |
| 742 |
- {key: executable, section: defaults} |
| 743 |
DEFAULT_FILTER_PLUGIN_PATH: |
| 744 |
name: Jinja2 Filter Plugins Path |
| 745 |
default: '{{ ANSIBLE_HOME ~ "/plugins/filter:/usr/share/ansible/plugins/filter" }}' |
| 746 |
description: Colon-separated paths in which Ansible will search for Jinja2 Filter Plugins. |
| 747 |
env: [{name: ANSIBLE_FILTER_PLUGINS}] |
| 748 |
ini: |
| 749 |
- {key: filter_plugins, section: defaults} |
| 750 |
type: pathspec |
| 751 |
DEFAULT_FORCE_HANDLERS: |
| 752 |
name: Force handlers to run after failure |
| 753 |
default: False |
| 754 |
description: |
| 755 |
- This option controls if notified handlers run on a host even if a failure occurs on that host. |
| 756 |
- When false, the handlers will not run if a failure has occurred on a host. |
| 757 |
- This can also be set per play or on the command line. See Handlers and Failure for more details. |
| 758 |
env: [{name: ANSIBLE_FORCE_HANDLERS}] |
| 759 |
ini: |
| 760 |
- {key: force_handlers, section: defaults} |
| 761 |
type: boolean |
| 762 |
version_added: "1.9.1" |
| 763 |
DEFAULT_FORKS: |
| 764 |
name: Number of task forks |
| 765 |
default: 5 |
| 766 |
description: Maximum number of forks Ansible will use to execute tasks on target hosts. |
| 767 |
env: [{name: ANSIBLE_FORKS}] |
| 768 |
ini: |
| 769 |
- {key: forks, section: defaults} |
| 770 |
type: integer |
| 771 |
DEFAULT_GATHERING: |
| 772 |
name: Gathering behaviour |
| 773 |
default: 'implicit' |
| 774 |
description: |
| 775 |
- This setting controls the default policy of fact gathering (facts discovered about remote systems). |
| 776 |
- "This option can be useful for those wishing to save fact gathering time. Both 'smart' and 'explicit' will use the cache plugin." |
| 777 |
env: [{name: ANSIBLE_GATHERING}] |
| 778 |
ini: |
| 779 |
- key: gathering |
| 780 |
section: defaults |
| 781 |
version_added: "1.6" |
| 782 |
choices: |
| 783 |
implicit: "the cache plugin will be ignored and facts will be gathered per play unless 'gather_facts: False' is set." |
| 784 |
explicit: facts will not be gathered unless directly requested in the play. |
| 785 |
smart: each new host that has no facts discovered will be scanned, but if the same host is addressed in multiple plays it will not be contacted again in the run. |
| 786 |
DEFAULT_HASH_BEHAVIOUR: |
| 787 |
name: Hash merge behaviour |
| 788 |
default: replace |
| 789 |
type: string |
| 790 |
choices: |
| 791 |
replace: Any variable that is defined more than once is overwritten using the order from variable precedence rules (highest wins). |
| 792 |
merge: Any dictionary variable will be recursively merged with new definitions across the different variable definition sources. |
| 793 |
description: |
| 794 |
- This setting controls how duplicate definitions of dictionary variables (aka hash, map, associative array) are handled in Ansible. |
| 795 |
- This does not affect variables whose values are scalars (integers, strings) or arrays. |
| 796 |
- "**WARNING**, changing this setting is not recommended as this is fragile and makes your content (plays, roles, collections) nonportable, |
| 797 |
leading to continual confusion and misuse. Don't change this setting unless you think you have an absolute need for it." |
| 798 |
- We recommend avoiding reusing variable names and relying on the ``combine`` filter and ``vars`` and ``varnames`` lookups |
| 799 |
to create merged versions of the individual variables. In our experience, this is rarely needed and is a sign that too much |
| 800 |
complexity has been introduced into the data structures and plays. |
| 801 |
- For some uses you can also look into custom vars_plugins to merge on input, even substituting the default ``host_group_vars`` |
| 802 |
that is in charge of parsing the ``host_vars/`` and ``group_vars/`` directories. Most users of this setting are only interested in inventory scope, |
| 803 |
but the setting itself affects all sources and makes debugging even harder. |
| 804 |
- All playbooks and roles in the official examples repos assume the default for this setting. |
| 805 |
- Changing the setting to ``merge`` applies across variable sources, but many sources will internally still overwrite the variables. |
| 806 |
For example ``include_vars`` will dedupe variables internally before updating Ansible, with 'last defined' overwriting previous definitions in same file. |
| 807 |
- The Ansible project recommends you **avoid ``merge`` for new projects.** |
| 808 |
- It is the intention of the Ansible developers to eventually deprecate and remove this setting, but it is being kept as some users do heavily rely on it. |
| 809 |
New projects should **avoid 'merge'**. |
| 810 |
env: [{name: ANSIBLE_HASH_BEHAVIOUR}] |
| 811 |
ini: |
| 812 |
- {key: hash_behaviour, section: defaults} |
| 813 |
DEFAULT_HOST_LIST: |
| 814 |
name: Inventory Source |
| 815 |
default: [/etc/ansible/hosts] |
| 816 |
description: Comma-separated list of Ansible inventory sources |
| 817 |
env: |
| 818 |
- name: ANSIBLE_INVENTORY |
| 819 |
expand_relative_paths: True |
| 820 |
ini: |
| 821 |
- key: inventory |
| 822 |
section: defaults |
| 823 |
type: pathlist |
| 824 |
yaml: {key: defaults.inventory} |
| 825 |
DEFAULT_HTTPAPI_PLUGIN_PATH: |
| 826 |
name: HttpApi Plugins Path |
| 827 |
default: '{{ ANSIBLE_HOME ~ "/plugins/httpapi:/usr/share/ansible/plugins/httpapi" }}' |
| 828 |
description: Colon-separated paths in which Ansible will search for HttpApi Plugins. |
| 829 |
env: [{name: ANSIBLE_HTTPAPI_PLUGINS}] |
| 830 |
ini: |
| 831 |
- {key: httpapi_plugins, section: defaults} |
| 832 |
type: pathspec |
| 833 |
DEFAULT_INTERNAL_POLL_INTERVAL: |
| 834 |
name: Internal poll interval |
| 835 |
default: 0.001 |
| 836 |
env: [] |
| 837 |
ini: |
| 838 |
- {key: internal_poll_interval, section: defaults} |
| 839 |
type: float |
| 840 |
version_added: "2.2" |
| 841 |
description: |
| 842 |
- This sets the interval (in seconds) of Ansible internal processes polling each other. |
| 843 |
Lower values improve performance with large playbooks at the expense of extra CPU load. |
| 844 |
Higher values are more suitable for Ansible usage in automation scenarios |
| 845 |
when UI responsiveness is not required but CPU usage might be a concern. |
| 846 |
- "The default corresponds to the value hardcoded in Ansible <= 2.1" |
| 847 |
DEFAULT_INVENTORY_PLUGIN_PATH: |
| 848 |
name: Inventory Plugins Path |
| 849 |
default: '{{ ANSIBLE_HOME ~ "/plugins/inventory:/usr/share/ansible/plugins/inventory" }}' |
| 850 |
description: Colon-separated paths in which Ansible will search for Inventory Plugins. |
| 851 |
env: [{name: ANSIBLE_INVENTORY_PLUGINS}] |
| 852 |
ini: |
| 853 |
- {key: inventory_plugins, section: defaults} |
| 854 |
type: pathspec |
| 855 |
DEFAULT_JINJA2_EXTENSIONS: |
| 856 |
name: Enabled Jinja2 extensions |
| 857 |
default: [] |
| 858 |
type: list |
| 859 |
description: |
| 860 |
- This is a developer-specific feature that allows enabling additional Jinja2 extensions. |
| 861 |
- "See the Jinja2 documentation for details. If you do not know what these do, you probably don't need to change this setting :)" |
| 862 |
env: [{name: ANSIBLE_JINJA2_EXTENSIONS}] |
| 863 |
ini: |
| 864 |
- {key: jinja2_extensions, section: defaults} |
| 865 |
deprecated: |
| 866 |
why: Jinja2 extensions have been deprecated |
| 867 |
version: "2.23" |
| 868 |
alternatives: Ansible-supported Jinja plugins (tests, filters, lookups) |
| 869 |
DEFAULT_JINJA2_NATIVE: |
| 870 |
name: Use Jinja2's NativeEnvironment for templating |
| 871 |
default: True |
| 872 |
description: This option preserves variable types during template operations. |
| 873 |
env: [{name: ANSIBLE_JINJA2_NATIVE}] |
| 874 |
ini: |
| 875 |
- {key: jinja2_native, section: defaults} |
| 876 |
type: boolean |
| 877 |
yaml: {key: jinja2_native} |
| 878 |
version_added: 2.7 |
| 879 |
deprecated: |
| 880 |
why: This option is no longer used in the Ansible Core code base. |
| 881 |
version: "2.23" |
| 882 |
alternatives: Jinja2 native mode is now the default and only option. |
| 883 |
DEFAULT_KEEP_REMOTE_FILES: |
| 884 |
name: Keep remote files |
| 885 |
default: False |
| 886 |
description: |
| 887 |
- Enables/disables the cleaning up of the temporary files Ansible used to execute the tasks on the remote. |
| 888 |
- If this option is enabled it will disable ``ANSIBLE_PIPELINING``. |
| 889 |
env: [{name: ANSIBLE_KEEP_REMOTE_FILES}] |
| 890 |
ini: |
| 891 |
- {key: keep_remote_files, section: defaults} |
| 892 |
type: boolean |
| 893 |
DEFAULT_LOAD_CALLBACK_PLUGINS: |
| 894 |
name: Load callbacks for adhoc |
| 895 |
default: False |
| 896 |
description: |
| 897 |
- Controls whether callback plugins are loaded when running /usr/bin/ansible. |
| 898 |
This may be used to log activity from the command line, send notifications, and so on. |
| 899 |
Callback plugins are always loaded for ``ansible-playbook``. |
| 900 |
env: [{name: ANSIBLE_LOAD_CALLBACK_PLUGINS}] |
| 901 |
ini: |
| 902 |
- {key: bin_ansible_callbacks, section: defaults} |
| 903 |
type: boolean |
| 904 |
version_added: "1.8" |
| 905 |
DEFAULT_LOCAL_TMP: |
| 906 |
name: Controller temporary directory |
| 907 |
default: '{{ ANSIBLE_HOME ~ "/tmp" }}' |
| 908 |
description: Temporary directory for Ansible to use on the controller. |
| 909 |
env: [{name: ANSIBLE_LOCAL_TEMP}] |
| 910 |
ini: |
| 911 |
- {key: local_tmp, section: defaults} |
| 912 |
type: tmppath |
| 913 |
DEFAULT_LOG_PATH: |
| 914 |
name: Ansible log file path |
| 915 |
default: ~ |
| 916 |
description: |
| 917 |
- File to which Ansible will log on the controller. |
| 918 |
- When not set the logging is disabled. |
| 919 |
env: [{name: ANSIBLE_LOG_PATH}] |
| 920 |
ini: |
| 921 |
- {key: log_path, section: defaults} |
| 922 |
type: path |
| 923 |
DEFAULT_LOG_FILTER: |
| 924 |
name: Name filters for python logger |
| 925 |
default: [] |
| 926 |
description: List of logger names to filter out of the log file. |
| 927 |
env: [{name: ANSIBLE_LOG_FILTER}] |
| 928 |
ini: |
| 929 |
- {key: log_filter, section: defaults} |
| 930 |
type: list |
| 931 |
DEFAULT_LOOKUP_PLUGIN_PATH: |
| 932 |
name: Lookup Plugins Path |
| 933 |
description: Colon-separated paths in which Ansible will search for Lookup Plugins. |
| 934 |
default: '{{ ANSIBLE_HOME ~ "/plugins/lookup:/usr/share/ansible/plugins/lookup" }}' |
| 935 |
env: [{name: ANSIBLE_LOOKUP_PLUGINS}] |
| 936 |
ini: |
| 937 |
- {key: lookup_plugins, section: defaults} |
| 938 |
type: pathspec |
| 939 |
yaml: {key: defaults.lookup_plugins} |
| 940 |
DEFAULT_MANAGED_STR: |
| 941 |
name: Ansible managed |
| 942 |
default: 'Ansible managed' |
| 943 |
description: Sets the macro for the 'ansible_managed' variable available for :ref:`ansible_collections.ansible.builtin.template_module` and :ref:`ansible_collections.ansible.windows.win_template_module`. This is only relevant to those two modules. |
| 944 |
env: [] |
| 945 |
ini: |
| 946 |
- {key: ansible_managed, section: defaults} |
| 947 |
yaml: {key: defaults.ansible_managed} |
| 948 |
deprecated: |
| 949 |
why: The `ansible_managed` variable can be set just like any other variable, or a different variable can be used. |
| 950 |
version: "2.23" |
| 951 |
alternatives: Set the `ansible_managed` variable, or use any custom variable in templates. |
| 952 |
DEFAULT_MODULE_ARGS: |
| 953 |
name: Adhoc default arguments |
| 954 |
default: ~ |
| 955 |
description: |
| 956 |
- This sets the default arguments to pass to the ``ansible`` adhoc binary if no ``-a`` is specified. |
| 957 |
env: [{name: ANSIBLE_MODULE_ARGS}] |
| 958 |
ini: |
| 959 |
- {key: module_args, section: defaults} |
| 960 |
DEFAULT_MODULE_COMPRESSION: |
| 961 |
name: Python module compression |
| 962 |
default: ZIP_DEFLATED |
| 963 |
description: Compression scheme to use when transferring Python modules to the target. |
| 964 |
env: [] |
| 965 |
ini: |
| 966 |
- {key: module_compression, section: defaults} |
| 967 |
vars: |
| 968 |
- name: ansible_module_compression |
| 969 |
DEFAULT_MODULE_NAME: |
| 970 |
name: Default adhoc module |
| 971 |
default: command |
| 972 |
description: "Module to use with the ``ansible`` AdHoc command, if none is specified via ``-m``." |
| 973 |
env: [] |
| 974 |
ini: |
| 975 |
- {key: module_name, section: defaults} |
| 976 |
DEFAULT_MODULE_PATH: |
| 977 |
name: Modules Path |
| 978 |
description: Colon-separated paths in which Ansible will search for Modules. |
| 979 |
default: '{{ ANSIBLE_HOME ~ "/plugins/modules:/usr/share/ansible/plugins/modules" }}' |
| 980 |
env: [{name: ANSIBLE_LIBRARY}] |
| 981 |
ini: |
| 982 |
- {key: library, section: defaults} |
| 983 |
type: pathspec |
| 984 |
DEFAULT_MODULE_UTILS_PATH: |
| 985 |
name: Module Utils Path |
| 986 |
description: Colon-separated paths in which Ansible will search for Module utils files, which are shared by modules. |
| 987 |
default: '{{ ANSIBLE_HOME ~ "/plugins/module_utils:/usr/share/ansible/plugins/module_utils" }}' |
| 988 |
env: [{name: ANSIBLE_MODULE_UTILS}] |
| 989 |
ini: |
| 990 |
- {key: module_utils, section: defaults} |
| 991 |
type: pathspec |
| 992 |
DEFAULT_NETCONF_PLUGIN_PATH: |
| 993 |
name: Netconf Plugins Path |
| 994 |
default: '{{ ANSIBLE_HOME ~ "/plugins/netconf:/usr/share/ansible/plugins/netconf" }}' |
| 995 |
description: Colon-separated paths in which Ansible will search for Netconf Plugins. |
| 996 |
env: [{name: ANSIBLE_NETCONF_PLUGINS}] |
| 997 |
ini: |
| 998 |
- {key: netconf_plugins, section: defaults} |
| 999 |
type: pathspec |
| 1000 |
DEFAULT_NO_LOG: |
| 1001 |
name: No log |
| 1002 |
default: False |
| 1003 |
description: "Toggle Ansible's display and logging of task details, mainly used to avoid security disclosures." |
| 1004 |
env: [{name: ANSIBLE_NO_LOG}] |
| 1005 |
ini: |
| 1006 |
- {key: no_log, section: defaults} |
| 1007 |
type: boolean |
| 1008 |
DEFAULT_NO_TARGET_SYSLOG: |
| 1009 |
name: No syslog on target |
| 1010 |
default: False |
| 1011 |
description: |
| 1012 |
- Toggle Ansible logging to syslog on the target when it executes tasks. On Windows hosts, this will disable a newer |
| 1013 |
style PowerShell modules from writing to the event log. |
| 1014 |
env: [{name: ANSIBLE_NO_TARGET_SYSLOG}] |
| 1015 |
ini: |
| 1016 |
- {key: no_target_syslog, section: defaults} |
| 1017 |
vars: |
| 1018 |
- name: ansible_no_target_syslog |
| 1019 |
version_added: '2.10' |
| 1020 |
type: boolean |
| 1021 |
yaml: {key: defaults.no_target_syslog} |
| 1022 |
DEFAULT_NULL_REPRESENTATION: |
| 1023 |
name: Represent a null |
| 1024 |
default: ~ |
| 1025 |
description: What templating should return as a 'null' value. When not set it will let Jinja2 decide. |
| 1026 |
env: [{name: ANSIBLE_NULL_REPRESENTATION}] |
| 1027 |
ini: |
| 1028 |
- {key: null_representation, section: defaults} |
| 1029 |
type: raw |
| 1030 |
deprecated: |
| 1031 |
why: This option is no longer used in the Ansible Core code base. |
| 1032 |
version: "2.23" |
| 1033 |
alternatives: There is no alternative at the moment. A different mechanism would have to be implemented in the current code base. |
| 1034 |
DEFAULT_POLL_INTERVAL: |
| 1035 |
name: Async poll interval |
| 1036 |
default: 15 |
| 1037 |
description: |
| 1038 |
- For asynchronous tasks in Ansible (covered in Asynchronous Actions and Polling), |
| 1039 |
this is how often to check back on the status of those tasks when an explicit poll interval is not supplied. |
| 1040 |
The default is a reasonably moderate 15 seconds which is a tradeoff between checking in frequently and |
| 1041 |
providing a quick turnaround when something may have completed. |
| 1042 |
env: [{name: ANSIBLE_POLL_INTERVAL}] |
| 1043 |
ini: |
| 1044 |
- {key: poll_interval, section: defaults} |
| 1045 |
type: integer |
| 1046 |
DEFAULT_PRIVATE_KEY_FILE: |
| 1047 |
name: Private key file |
| 1048 |
default: ~ |
| 1049 |
description: |
| 1050 |
- Option for connections using a certificate or key file to authenticate, rather than an agent or passwords, |
| 1051 |
you can set the default value here to avoid re-specifying ``--private-key`` with every invocation. |
| 1052 |
env: [{name: ANSIBLE_PRIVATE_KEY_FILE}] |
| 1053 |
ini: |
| 1054 |
- {key: private_key_file, section: defaults} |
| 1055 |
type: path |
| 1056 |
DEFAULT_PRIVATE_ROLE_VARS: |
| 1057 |
name: Private role variables |
| 1058 |
default: False |
| 1059 |
description: |
| 1060 |
- By default, imported roles publish their variables to the play and other roles, this setting can avoid that. |
| 1061 |
- This was introduced as a way to reset role variables to default values if a role is used more than once |
| 1062 |
in a playbook. |
| 1063 |
- Starting in version '2.17' M(ansible.builtin.include_roles) and M(ansible.builtin.import_roles) can |
| 1064 |
individually override this via the C(public) parameter. |
| 1065 |
- Included roles only make their variables public at execution, unlike imported roles which happen at playbook compile time. |
| 1066 |
env: [{name: ANSIBLE_PRIVATE_ROLE_VARS}] |
| 1067 |
ini: |
| 1068 |
- {key: private_role_vars, section: defaults} |
| 1069 |
type: boolean |
| 1070 |
yaml: {key: defaults.private_role_vars} |
| 1071 |
DEFAULT_REMOTE_PORT: |
| 1072 |
name: Remote port |
| 1073 |
default: ~ |
| 1074 |
description: Port to use in remote connections, when blank it will use the connection plugin default. |
| 1075 |
env: [{name: ANSIBLE_REMOTE_PORT}] |
| 1076 |
ini: |
| 1077 |
- {key: remote_port, section: defaults} |
| 1078 |
type: integer |
| 1079 |
yaml: {key: defaults.remote_port} |
| 1080 |
DEFAULT_REMOTE_USER: |
| 1081 |
name: Login/Remote User |
| 1082 |
description: |
| 1083 |
- Sets the login user for the target machines |
| 1084 |
- "When blank it uses the connection plugin's default, normally the user currently executing Ansible." |
| 1085 |
env: [{name: ANSIBLE_REMOTE_USER}] |
| 1086 |
ini: |
| 1087 |
- {key: remote_user, section: defaults} |
| 1088 |
DEFAULT_ROLES_PATH: |
| 1089 |
name: Roles path |
| 1090 |
default: '{{ ANSIBLE_HOME ~ "/roles:/usr/share/ansible/roles:/etc/ansible/roles" }}' |
| 1091 |
description: Colon-separated paths in which Ansible will search for Roles. |
| 1092 |
env: [{name: ANSIBLE_ROLES_PATH}] |
| 1093 |
expand_relative_paths: True |
| 1094 |
ini: |
| 1095 |
- {key: roles_path, section: defaults} |
| 1096 |
type: pathspec |
| 1097 |
yaml: {key: defaults.roles_path} |
| 1098 |
DEFAULT_SELINUX_SPECIAL_FS: |
| 1099 |
name: Problematic file systems |
| 1100 |
default: [fuse, nfs, vboxsf, ramfs, 9p, vfat] |
| 1101 |
description: |
| 1102 |
- "Some filesystems do not support safe operations and/or return inconsistent errors, |
| 1103 |
this setting makes Ansible 'tolerate' those in the list without causing fatal errors." |
| 1104 |
- Data corruption may occur and writes are not always verified when a filesystem is in the list. |
| 1105 |
env: |
| 1106 |
- name: ANSIBLE_SELINUX_SPECIAL_FS |
| 1107 |
version_added: "2.9" |
| 1108 |
ini: |
| 1109 |
- {key: special_context_filesystems, section: selinux} |
| 1110 |
type: list |
| 1111 |
DEFAULT_STDOUT_CALLBACK: |
| 1112 |
name: Main display callback plugin |
| 1113 |
default: default |
| 1114 |
description: |
| 1115 |
- "Set the main callback used to display Ansible output. You can only have one at a time." |
| 1116 |
- You can have many other callbacks, but just one can be in charge of stdout. |
| 1117 |
- See :ref:`callback_plugins` for a list of available options. |
| 1118 |
env: [{name: ANSIBLE_STDOUT_CALLBACK}] |
| 1119 |
ini: |
| 1120 |
- {key: stdout_callback, section: defaults} |
| 1121 |
EDITOR: |
| 1122 |
name: editor application to use |
| 1123 |
default: vi |
| 1124 |
description: |
| 1125 |
- for the cases in which Ansible needs to return a file within an editor, this chooses the application to use. |
| 1126 |
ini: |
| 1127 |
- section: defaults |
| 1128 |
key: editor |
| 1129 |
version_added: '2.15' |
| 1130 |
env: |
| 1131 |
- name: ANSIBLE_EDITOR |
| 1132 |
version_added: '2.15' |
| 1133 |
- name: EDITOR |
| 1134 |
ENABLE_TASK_DEBUGGER: |
| 1135 |
name: Whether to enable the task debugger |
| 1136 |
default: False |
| 1137 |
description: |
| 1138 |
- Whether or not to enable the task debugger, this previously was done as a strategy plugin. |
| 1139 |
- Now all strategy plugins can inherit this behavior. The debugger defaults to activating when |
| 1140 |
- a task is failed on unreachable. Use the debugger keyword for more flexibility. |
| 1141 |
type: boolean |
| 1142 |
env: [{name: ANSIBLE_ENABLE_TASK_DEBUGGER}] |
| 1143 |
ini: |
| 1144 |
- {key: enable_task_debugger, section: defaults} |
| 1145 |
version_added: "2.5" |
| 1146 |
TASK_DEBUGGER_IGNORE_ERRORS: |
| 1147 |
name: Whether a failed task with ignore_errors=True will still invoke the debugger |
| 1148 |
default: True |
| 1149 |
description: |
| 1150 |
- This option defines whether the task debugger will be invoked on a failed task when ignore_errors=True |
| 1151 |
is specified. |
| 1152 |
- True specifies that the debugger will honor ignore_errors, and False will not honor ignore_errors. |
| 1153 |
type: boolean |
| 1154 |
env: [{name: ANSIBLE_TASK_DEBUGGER_IGNORE_ERRORS}] |
| 1155 |
ini: |
| 1156 |
- {key: task_debugger_ignore_errors, section: defaults} |
| 1157 |
version_added: "2.7" |
| 1158 |
DEFAULT_STRATEGY: |
| 1159 |
name: Implied strategy |
| 1160 |
default: 'linear' |
| 1161 |
description: Set the default strategy used for plays. |
| 1162 |
env: [{name: ANSIBLE_STRATEGY}] |
| 1163 |
ini: |
| 1164 |
- {key: strategy, section: defaults} |
| 1165 |
version_added: "2.3" |
| 1166 |
DEFAULT_STRATEGY_PLUGIN_PATH: |
| 1167 |
name: Strategy Plugins Path |
| 1168 |
description: Colon-separated paths in which Ansible will search for Strategy Plugins. |
| 1169 |
default: '{{ ANSIBLE_HOME ~ "/plugins/strategy:/usr/share/ansible/plugins/strategy" }}' |
| 1170 |
env: [{name: ANSIBLE_STRATEGY_PLUGINS}] |
| 1171 |
ini: |
| 1172 |
- {key: strategy_plugins, section: defaults} |
| 1173 |
type: pathspec |
| 1174 |
DEFAULT_SU: |
| 1175 |
default: False |
| 1176 |
description: 'Toggle the use of "su" for tasks.' |
| 1177 |
env: [{name: ANSIBLE_SU}] |
| 1178 |
ini: |
| 1179 |
- {key: su, section: defaults} |
| 1180 |
type: boolean |
| 1181 |
yaml: {key: defaults.su} |
| 1182 |
DEFAULT_SYSLOG_FACILITY: |
| 1183 |
name: syslog facility |
| 1184 |
default: LOG_USER |
| 1185 |
description: Syslog facility to use when Ansible logs to the remote target. |
| 1186 |
env: [{name: ANSIBLE_SYSLOG_FACILITY}] |
| 1187 |
ini: |
| 1188 |
- {key: syslog_facility, section: defaults} |
| 1189 |
DEFAULT_TERMINAL_PLUGIN_PATH: |
| 1190 |
name: Terminal Plugins Path |
| 1191 |
default: '{{ ANSIBLE_HOME ~ "/plugins/terminal:/usr/share/ansible/plugins/terminal" }}' |
| 1192 |
description: Colon-separated paths in which Ansible will search for Terminal Plugins. |
| 1193 |
env: [{name: ANSIBLE_TERMINAL_PLUGINS}] |
| 1194 |
ini: |
| 1195 |
- {key: terminal_plugins, section: defaults} |
| 1196 |
type: pathspec |
| 1197 |
DEFAULT_TEST_PLUGIN_PATH: |
| 1198 |
name: Jinja2 Test Plugins Path |
| 1199 |
description: Colon-separated paths in which Ansible will search for Jinja2 Test Plugins. |
| 1200 |
default: '{{ ANSIBLE_HOME ~ "/plugins/test:/usr/share/ansible/plugins/test" }}' |
| 1201 |
env: [{name: ANSIBLE_TEST_PLUGINS}] |
| 1202 |
ini: |
| 1203 |
- {key: test_plugins, section: defaults} |
| 1204 |
type: pathspec |
| 1205 |
DEFAULT_TIMEOUT: |
| 1206 |
name: Connection timeout |
| 1207 |
default: 10 |
| 1208 |
description: This is the default timeout for connection plugins to use. |
| 1209 |
env: [{name: ANSIBLE_TIMEOUT}] |
| 1210 |
ini: |
| 1211 |
- {key: timeout, section: defaults} |
| 1212 |
type: integer |
| 1213 |
DEFAULT_TRANSPORT: |
| 1214 |
name: Connection plugin |
| 1215 |
default: ssh |
| 1216 |
description: |
| 1217 |
- Can be any connection plugin available to your ansible installation. |
| 1218 |
env: [{name: ANSIBLE_TRANSPORT}] |
| 1219 |
ini: |
| 1220 |
- {key: transport, section: defaults} |
| 1221 |
DEFAULT_UNDEFINED_VAR_BEHAVIOR: |
| 1222 |
name: Jinja2 fail on undefined |
| 1223 |
default: True |
| 1224 |
version_added: "1.3" |
| 1225 |
description: |
| 1226 |
- When True, this causes ansible templating to fail steps that reference variable names that are likely typoed. |
| 1227 |
- "Otherwise, any '{{ template_expression }}' that contains undefined variables will be rendered in a template or ansible action line exactly as written." |
| 1228 |
env: [{name: ANSIBLE_ERROR_ON_UNDEFINED_VARS}] |
| 1229 |
ini: |
| 1230 |
- {key: error_on_undefined_vars, section: defaults} |
| 1231 |
type: boolean |
| 1232 |
deprecated: |
| 1233 |
why: This option is no longer used in the Ansible Core code base. |
| 1234 |
version: "2.23" |
| 1235 |
alternatives: There is no alternative at the moment. A different mechanism would have to be implemented in the current code base. |
| 1236 |
DEFAULT_VARS_PLUGIN_PATH: |
| 1237 |
name: Vars Plugins Path |
| 1238 |
default: '{{ ANSIBLE_HOME ~ "/plugins/vars:/usr/share/ansible/plugins/vars" }}' |
| 1239 |
description: Colon-separated paths in which Ansible will search for Vars Plugins. |
| 1240 |
env: [{name: ANSIBLE_VARS_PLUGINS}] |
| 1241 |
ini: |
| 1242 |
- {key: vars_plugins, section: defaults} |
| 1243 |
type: pathspec |
| 1244 |
DEFAULT_VAULT_ID_MATCH: |
| 1245 |
name: Force vault id match |
| 1246 |
default: False |
| 1247 |
description: 'If true, decrypting vaults with a vault id will only try the password from the matching vault-id.' |
| 1248 |
env: [{name: ANSIBLE_VAULT_ID_MATCH}] |
| 1249 |
ini: |
| 1250 |
- {key: vault_id_match, section: defaults} |
| 1251 |
yaml: {key: defaults.vault_id_match} |
| 1252 |
DEFAULT_VAULT_IDENTITY: |
| 1253 |
name: Vault id label |
| 1254 |
default: default |
| 1255 |
description: 'The label to use for the default vault id label in cases where a vault id label is not provided.' |
| 1256 |
env: [{name: ANSIBLE_VAULT_IDENTITY}] |
| 1257 |
ini: |
| 1258 |
- {key: vault_identity, section: defaults} |
| 1259 |
yaml: {key: defaults.vault_identity} |
| 1260 |
VAULT_ENCRYPT_SALT: |
| 1261 |
name: Vault salt to use for encryption |
| 1262 |
default: ~ |
| 1263 |
description: 'The salt to use for the vault encryption. If it is not provided, a random salt will be used.' |
| 1264 |
env: [{name: ANSIBLE_VAULT_ENCRYPT_SALT}] |
| 1265 |
ini: |
| 1266 |
- {key: vault_encrypt_salt, section: defaults} |
| 1267 |
version_added: '2.15' |
| 1268 |
DEFAULT_VAULT_ENCRYPT_IDENTITY: |
| 1269 |
name: Vault id to use for encryption |
| 1270 |
description: 'The vault_id to use for encrypting by default. If multiple vault_ids are provided, this specifies which to use for encryption. The ``--encrypt-vault-id`` CLI option overrides the configured value.' |
| 1271 |
env: [{name: ANSIBLE_VAULT_ENCRYPT_IDENTITY}] |
| 1272 |
ini: |
| 1273 |
- {key: vault_encrypt_identity, section: defaults} |
| 1274 |
yaml: {key: defaults.vault_encrypt_identity} |
| 1275 |
DEFAULT_VAULT_IDENTITY_LIST: |
| 1276 |
name: Default vault ids |
| 1277 |
default: [] |
| 1278 |
description: 'A list of vault-ids to use by default. Equivalent to multiple ``--vault-id`` args. Vault-ids are tried in order.' |
| 1279 |
env: [{name: ANSIBLE_VAULT_IDENTITY_LIST}] |
| 1280 |
ini: |
| 1281 |
- {key: vault_identity_list, section: defaults} |
| 1282 |
type: list |
| 1283 |
yaml: {key: defaults.vault_identity_list} |
| 1284 |
DEFAULT_VAULT_PASSWORD_FILE: |
| 1285 |
name: Vault password file |
| 1286 |
default: ~ |
| 1287 |
description: |
| 1288 |
- 'The vault password file to use. Equivalent to ``--vault-password-file`` or ``--vault-id``.' |
| 1289 |
- If executable, it will be run and the resulting stdout will be used as the password. |
| 1290 |
env: [{name: ANSIBLE_VAULT_PASSWORD_FILE}] |
| 1291 |
ini: |
| 1292 |
- {key: vault_password_file, section: defaults} |
| 1293 |
type: path |
| 1294 |
yaml: {key: defaults.vault_password_file} |
| 1295 |
DEFAULT_VERBOSITY: |
| 1296 |
name: Verbosity |
| 1297 |
default: 0 |
| 1298 |
description: Sets the default verbosity, equivalent to the number of ``-v`` passed in the command line. |
| 1299 |
env: [{name: ANSIBLE_VERBOSITY}] |
| 1300 |
ini: |
| 1301 |
- {key: verbosity, section: defaults} |
| 1302 |
type: integer |
| 1303 |
DEPRECATION_WARNINGS: |
| 1304 |
name: Deprecation messages |
| 1305 |
default: True |
| 1306 |
description: "Toggle to control the showing of deprecation warnings" |
| 1307 |
env: [{name: ANSIBLE_DEPRECATION_WARNINGS}] |
| 1308 |
ini: |
| 1309 |
- {key: deprecation_warnings, section: defaults} |
| 1310 |
type: boolean |
| 1311 |
vars: |
| 1312 |
- name: ansible_deprecation_warnings |
| 1313 |
version_added: '2.19' |
| 1314 |
DEVEL_WARNING: |
| 1315 |
name: Running devel warning |
| 1316 |
default: True |
| 1317 |
description: Toggle to control showing warnings related to running devel. |
| 1318 |
env: [{name: ANSIBLE_DEVEL_WARNING}] |
| 1319 |
ini: |
| 1320 |
- {key: devel_warning, section: defaults} |
| 1321 |
type: boolean |
| 1322 |
DIFF_ALWAYS: |
| 1323 |
name: Show differences |
| 1324 |
default: False |
| 1325 |
description: Configuration toggle to tell modules to show differences when in 'changed' status, equivalent to ``--diff``. |
| 1326 |
env: [{name: ANSIBLE_DIFF_ALWAYS}] |
| 1327 |
ini: |
| 1328 |
- {key: always, section: diff} |
| 1329 |
type: bool |
| 1330 |
DIFF_CONTEXT: |
| 1331 |
name: Difference context |
| 1332 |
default: 3 |
| 1333 |
description: Number of lines of context to show when displaying the differences between files. |
| 1334 |
env: [{name: ANSIBLE_DIFF_CONTEXT}] |
| 1335 |
ini: |
| 1336 |
- {key: context, section: diff} |
| 1337 |
type: integer |
| 1338 |
DISPLAY_ARGS_TO_STDOUT: |
| 1339 |
name: Show task arguments |
| 1340 |
default: False |
| 1341 |
description: |
| 1342 |
- "Normally ``ansible-playbook`` will print a header for each task that is run. |
| 1343 |
These headers will contain the name: field from the task if you specified one. |
| 1344 |
If you didn't then ``ansible-playbook`` uses the task's action to help you tell which task is presently running. |
| 1345 |
Sometimes you run many of the same action and so you want more information about the task to differentiate it from others of the same action. |
| 1346 |
If you set this variable to True in the config then ``ansible-playbook`` will also include the task's arguments in the header." |
| 1347 |
- "This setting defaults to False because there is a chance that you have sensitive values in your parameters and |
| 1348 |
you do not want those to be printed." |
| 1349 |
- "If you set this to True you should be sure that you have secured your environment's stdout |
| 1350 |
(no one can shoulder surf your screen and you aren't saving stdout to an insecure file) or |
| 1351 |
made sure that all of your playbooks explicitly added the ``no_log: True`` parameter to tasks that have sensitive values |
| 1352 |
:ref:`keep_secret_data` for more information." |
| 1353 |
env: [{name: ANSIBLE_DISPLAY_ARGS_TO_STDOUT}] |
| 1354 |
ini: |
| 1355 |
- {key: display_args_to_stdout, section: defaults} |
| 1356 |
type: boolean |
| 1357 |
version_added: "2.1" |
| 1358 |
DISPLAY_SKIPPED_HOSTS: |
| 1359 |
name: Show skipped results |
| 1360 |
default: True |
| 1361 |
description: "Toggle to control displaying skipped task/host entries in a task in the default callback." |
| 1362 |
env: |
| 1363 |
- name: ANSIBLE_DISPLAY_SKIPPED_HOSTS |
| 1364 |
ini: |
| 1365 |
- {key: display_skipped_hosts, section: defaults} |
| 1366 |
type: boolean |
| 1367 |
DISPLAY_TRACEBACK: |
| 1368 |
name: Control traceback display |
| 1369 |
default: [never] |
| 1370 |
description: When to include tracebacks in extended error messages |
| 1371 |
env: |
| 1372 |
- name: ANSIBLE_DISPLAY_TRACEBACK |
| 1373 |
ini: |
| 1374 |
- {key: display_traceback, section: defaults} |
| 1375 |
type: list |
| 1376 |
choices: |
| 1377 |
- error |
| 1378 |
- warning |
| 1379 |
- deprecated |
| 1380 |
- deprecated_value |
| 1381 |
- always |
| 1382 |
- never |
| 1383 |
version_added: "2.19" |
| 1384 |
DOCSITE_ROOT_URL: |
| 1385 |
name: Root docsite URL |
| 1386 |
default: https://docs.ansible.com/ansible-core/ |
| 1387 |
description: Root docsite URL used to generate docs URLs in warning/error text; |
| 1388 |
must be an absolute URL with a valid scheme and trailing slash. |
| 1389 |
ini: |
| 1390 |
- {key: docsite_root_url, section: defaults} |
| 1391 |
version_added: "2.8" |
| 1392 |
DUPLICATE_YAML_DICT_KEY: |
| 1393 |
name: Controls ansible behaviour when finding duplicate keys in YAML. |
| 1394 |
default: warn |
| 1395 |
description: |
| 1396 |
- By default, Ansible will issue a warning when a duplicate dict key is encountered in YAML. |
| 1397 |
- These warnings can be silenced by adjusting this setting to False. |
| 1398 |
env: [{name: ANSIBLE_DUPLICATE_YAML_DICT_KEY}] |
| 1399 |
ini: |
| 1400 |
- {key: duplicate_dict_key, section: defaults} |
| 1401 |
type: string |
| 1402 |
choices: &basic_error2 |
| 1403 |
error: issue a 'fatal' error and stop the play |
| 1404 |
warn: issue a warning but continue |
| 1405 |
ignore: just continue silently |
| 1406 |
version_added: "2.9" |
| 1407 |
ERROR_ON_MISSING_HANDLER: |
| 1408 |
name: Missing handler error |
| 1409 |
default: True |
| 1410 |
description: "Toggle to allow missing handlers to become a warning instead of an error when notifying." |
| 1411 |
env: [{name: ANSIBLE_ERROR_ON_MISSING_HANDLER}] |
| 1412 |
ini: |
| 1413 |
- {key: error_on_missing_handler, section: defaults} |
| 1414 |
type: boolean |
| 1415 |
CONNECTION_FACTS_MODULES: |
| 1416 |
name: Map of connections to fact modules |
| 1417 |
default: |
| 1418 |
# use ansible.legacy names on unqualified facts modules to allow library/ overrides |
| 1419 |
asa: ansible.legacy.asa_facts |
| 1420 |
cisco.asa.asa: cisco.asa.asa_facts |
| 1421 |
eos: ansible.legacy.eos_facts |
| 1422 |
arista.eos.eos: arista.eos.eos_facts |
| 1423 |
frr: ansible.legacy.frr_facts |
| 1424 |
frr.frr.frr: frr.frr.frr_facts |
| 1425 |
ios: ansible.legacy.ios_facts |
| 1426 |
cisco.ios.ios: cisco.ios.ios_facts |
| 1427 |
iosxr: ansible.legacy.iosxr_facts |
| 1428 |
cisco.iosxr.iosxr: cisco.iosxr.iosxr_facts |
| 1429 |
junos: ansible.legacy.junos_facts |
| 1430 |
junipernetworks.junos.junos: junipernetworks.junos.junos_facts |
| 1431 |
nxos: ansible.legacy.nxos_facts |
| 1432 |
cisco.nxos.nxos: cisco.nxos.nxos_facts |
| 1433 |
vyos: ansible.legacy.vyos_facts |
| 1434 |
vyos.vyos.vyos: vyos.vyos.vyos_facts |
| 1435 |
exos: ansible.legacy.exos_facts |
| 1436 |
extreme.exos.exos: extreme.exos.exos_facts |
| 1437 |
slxos: ansible.legacy.slxos_facts |
| 1438 |
extreme.slxos.slxos: extreme.slxos.slxos_facts |
| 1439 |
voss: ansible.legacy.voss_facts |
| 1440 |
extreme.voss.voss: extreme.voss.voss_facts |
| 1441 |
ironware: ansible.legacy.ironware_facts |
| 1442 |
community.network.ironware: community.network.ironware_facts |
| 1443 |
description: "Which modules to run during a play's fact gathering stage based on connection" |
| 1444 |
type: dict |
| 1445 |
FACTS_MODULES: |
| 1446 |
name: Gather Facts Modules |
| 1447 |
default: |
| 1448 |
- smart |
| 1449 |
description: |
| 1450 |
- "Which modules to run during a play's fact gathering stage, using the default of 'smart' will try to figure it out based on connection type." |
| 1451 |
- "If adding your own modules but you still want to use the default Ansible facts, you will want to include 'setup' |
| 1452 |
or corresponding network module to the list (if you add 'smart', Ansible will also figure it out)." |
| 1453 |
- "This does not affect explicit calls to the 'setup' module, but does always affect the 'gather_facts' action (implicit or explicit)." |
| 1454 |
env: [{name: ANSIBLE_FACTS_MODULES}] |
| 1455 |
ini: |
| 1456 |
- {key: facts_modules, section: defaults} |
| 1457 |
type: list |
| 1458 |
vars: |
| 1459 |
- name: ansible_facts_modules |
| 1460 |
GALAXY_IGNORE_CERTS: |
| 1461 |
name: Galaxy validate certs |
| 1462 |
description: |
| 1463 |
- If set to yes, ansible-galaxy will not validate TLS certificates. |
| 1464 |
This can be useful for testing against a server with a self-signed certificate. |
| 1465 |
env: [{name: ANSIBLE_GALAXY_IGNORE}] |
| 1466 |
ini: |
| 1467 |
- {key: ignore_certs, section: galaxy} |
| 1468 |
type: boolean |
| 1469 |
GALAXY_SERVER_TIMEOUT: |
| 1470 |
name: Default timeout to use for API calls |
| 1471 |
description: |
| 1472 |
- The default timeout for Galaxy API calls. Galaxy servers that don't configure a specific timeout will fall back to this value. |
| 1473 |
env: [{name: ANSIBLE_GALAXY_SERVER_TIMEOUT}] |
| 1474 |
default: 60 |
| 1475 |
ini: |
| 1476 |
- {key: server_timeout, section: galaxy} |
| 1477 |
type: int |
| 1478 |
GALAXY_ROLE_SKELETON: |
| 1479 |
name: Galaxy role skeleton directory |
| 1480 |
description: Role skeleton directory to use as a template for the ``init`` action in ``ansible-galaxy``/``ansible-galaxy role``, same as ``--role-skeleton``. |
| 1481 |
env: [{name: ANSIBLE_GALAXY_ROLE_SKELETON}] |
| 1482 |
ini: |
| 1483 |
- {key: role_skeleton, section: galaxy} |
| 1484 |
type: path |
| 1485 |
GALAXY_ROLE_SKELETON_IGNORE: |
| 1486 |
name: Galaxy role skeleton ignore |
| 1487 |
default: ["^.git$", "^.*/.git_keep$"] |
| 1488 |
description: patterns of files to ignore inside a Galaxy role or collection skeleton directory. |
| 1489 |
env: [{name: ANSIBLE_GALAXY_ROLE_SKELETON_IGNORE}] |
| 1490 |
ini: |
| 1491 |
- {key: role_skeleton_ignore, section: galaxy} |
| 1492 |
type: list |
| 1493 |
GALAXY_COLLECTION_SKELETON: |
| 1494 |
name: Galaxy collection skeleton directory |
| 1495 |
description: Collection skeleton directory to use as a template for the ``init`` action in ``ansible-galaxy collection``, same as ``--collection-skeleton``. |
| 1496 |
env: [{name: ANSIBLE_GALAXY_COLLECTION_SKELETON}] |
| 1497 |
ini: |
| 1498 |
- {key: collection_skeleton, section: galaxy} |
| 1499 |
type: path |
| 1500 |
GALAXY_COLLECTION_SKELETON_IGNORE: |
| 1501 |
name: Galaxy collection skeleton ignore |
| 1502 |
default: ["^.git$", "^.*/.git_keep$"] |
| 1503 |
description: patterns of files to ignore inside a Galaxy collection skeleton directory. |
| 1504 |
env: [{name: ANSIBLE_GALAXY_COLLECTION_SKELETON_IGNORE}] |
| 1505 |
ini: |
| 1506 |
- {key: collection_skeleton_ignore, section: galaxy} |
| 1507 |
type: list |
| 1508 |
GALAXY_COLLECTIONS_PATH_WARNING: |
| 1509 |
name: "ansible-galaxy collection install collections path warnings" |
| 1510 |
description: "whether ``ansible-galaxy collection install`` should warn about ``--collections-path`` missing from configured :ref:`collections_paths`." |
| 1511 |
default: true |
| 1512 |
type: bool |
| 1513 |
env: [{name: ANSIBLE_GALAXY_COLLECTIONS_PATH_WARNING}] |
| 1514 |
ini: |
| 1515 |
- {key: collections_path_warning, section: galaxy} |
| 1516 |
version_added: "2.16" |
| 1517 |
GALAXY_SERVER: |
| 1518 |
default: https://galaxy.ansible.com |
| 1519 |
description: "URL to prepend when roles don't specify the full URI, assume they are referencing this server as the source." |
| 1520 |
env: [{name: ANSIBLE_GALAXY_SERVER}] |
| 1521 |
ini: |
| 1522 |
- {key: server, section: galaxy} |
| 1523 |
yaml: {key: galaxy.server} |
| 1524 |
GALAXY_SERVER_LIST: |
| 1525 |
description: |
| 1526 |
- A list of Galaxy servers to use when installing a collection. |
| 1527 |
- The value corresponds to the config ini header ``[galaxy_server.{{item}}]`` which defines the server details. |
| 1528 |
- 'See :ref:`galaxy_server_config` for more details on how to define a Galaxy server.' |
| 1529 |
- The order of servers in this list is used as the order in which a collection is resolved. |
| 1530 |
- Setting this config option will ignore the :ref:`galaxy_server` config option. |
| 1531 |
env: [{name: ANSIBLE_GALAXY_SERVER_LIST}] |
| 1532 |
ini: |
| 1533 |
- {key: server_list, section: galaxy} |
| 1534 |
type: list |
| 1535 |
version_added: "2.9" |
| 1536 |
GALAXY_TOKEN_PATH: |
| 1537 |
default: '{{ ANSIBLE_HOME ~ "/galaxy_token" }}' |
| 1538 |
description: "Local path to galaxy access token file" |
| 1539 |
env: [{name: ANSIBLE_GALAXY_TOKEN_PATH}] |
| 1540 |
ini: |
| 1541 |
- {key: token_path, section: galaxy} |
| 1542 |
type: path |
| 1543 |
version_added: "2.9" |
| 1544 |
GALAXY_DISPLAY_PROGRESS: |
| 1545 |
default: ~ |
| 1546 |
description: |
| 1547 |
- Some steps in ``ansible-galaxy`` display a progress wheel which can cause issues on certain displays or when |
| 1548 |
outputting the stdout to a file. |
| 1549 |
- This config option controls whether the display wheel is shown or not. |
| 1550 |
- The default is to show the display wheel if stdout has a tty. |
| 1551 |
env: [{name: ANSIBLE_GALAXY_DISPLAY_PROGRESS}] |
| 1552 |
ini: |
| 1553 |
- {key: display_progress, section: galaxy} |
| 1554 |
type: bool |
| 1555 |
version_added: "2.10" |
| 1556 |
GALAXY_CACHE_DIR: |
| 1557 |
default: '{{ ANSIBLE_HOME ~ "/galaxy_cache" }}' |
| 1558 |
description: |
| 1559 |
- The directory that stores cached responses from a Galaxy server. |
| 1560 |
- This is only used by the ``ansible-galaxy collection install`` and ``download`` commands. |
| 1561 |
- Cache files inside this dir will be ignored if they are world writable. |
| 1562 |
env: |
| 1563 |
- name: ANSIBLE_GALAXY_CACHE_DIR |
| 1564 |
ini: |
| 1565 |
- section: galaxy |
| 1566 |
key: cache_dir |
| 1567 |
type: path |
| 1568 |
version_added: '2.11' |
| 1569 |
GALAXY_DISABLE_GPG_VERIFY: |
| 1570 |
default: false |
| 1571 |
type: bool |
| 1572 |
env: |
| 1573 |
- name: ANSIBLE_GALAXY_DISABLE_GPG_VERIFY |
| 1574 |
ini: |
| 1575 |
- section: galaxy |
| 1576 |
key: disable_gpg_verify |
| 1577 |
description: |
| 1578 |
- Disable GPG signature verification during collection installation. |
| 1579 |
version_added: '2.13' |
| 1580 |
GALAXY_GPG_KEYRING: |
| 1581 |
type: path |
| 1582 |
env: |
| 1583 |
- name: ANSIBLE_GALAXY_GPG_KEYRING |
| 1584 |
ini: |
| 1585 |
- section: galaxy |
| 1586 |
key: gpg_keyring |
| 1587 |
description: |
| 1588 |
- Configure the keyring used for GPG signature verification during collection installation and verification. |
| 1589 |
version_added: '2.13' |
| 1590 |
GALAXY_IGNORE_INVALID_SIGNATURE_STATUS_CODES: |
| 1591 |
type: list |
| 1592 |
env: |
| 1593 |
- name: ANSIBLE_GALAXY_IGNORE_SIGNATURE_STATUS_CODES |
| 1594 |
ini: |
| 1595 |
- section: galaxy |
| 1596 |
key: ignore_signature_status_codes |
| 1597 |
description: |
| 1598 |
- A list of GPG status codes to ignore during GPG signature verification. |
| 1599 |
See L(https://github.com/gpg/gnupg/blob/master/doc/DETAILS#general-status-codes) for status code descriptions. |
| 1600 |
- If fewer signatures successfully verify the collection than `GALAXY_REQUIRED_VALID_SIGNATURE_COUNT`, |
| 1601 |
signature verification will fail even if all error codes are ignored. |
| 1602 |
choices: |
| 1603 |
- EXPSIG |
| 1604 |
- EXPKEYSIG |
| 1605 |
- REVKEYSIG |
| 1606 |
- BADSIG |
| 1607 |
- ERRSIG |
| 1608 |
- NO_PUBKEY |
| 1609 |
- MISSING_PASSPHRASE |
| 1610 |
- BAD_PASSPHRASE |
| 1611 |
- NODATA |
| 1612 |
- UNEXPECTED |
| 1613 |
- ERROR |
| 1614 |
- FAILURE |
| 1615 |
- BADARMOR |
| 1616 |
- KEYEXPIRED |
| 1617 |
- KEYREVOKED |
| 1618 |
- NO_SECKEY |
| 1619 |
GALAXY_REQUIRED_VALID_SIGNATURE_COUNT: |
| 1620 |
type: str |
| 1621 |
default: 1 |
| 1622 |
env: |
| 1623 |
- name: ANSIBLE_GALAXY_REQUIRED_VALID_SIGNATURE_COUNT |
| 1624 |
ini: |
| 1625 |
- section: galaxy |
| 1626 |
key: required_valid_signature_count |
| 1627 |
description: |
| 1628 |
- The number of signatures that must be successful during GPG signature verification while installing or verifying collections. |
| 1629 |
- This should be a positive integer or all to indicate all signatures must successfully validate the collection. |
| 1630 |
- Prepend + to the value to fail if no valid signatures are found for the collection. |
| 1631 |
GALAXY_COLLECTION_IMPORT_POLL_INTERVAL: |
| 1632 |
description: |
| 1633 |
- The initial interval in seconds for polling the import status of a collection. |
| 1634 |
- This interval increases exponentially based on the :ref:`galaxy_collection_import_poll_factor`, with a maximum delay of 30 seconds. |
| 1635 |
type: float |
| 1636 |
default: 2.0 |
| 1637 |
env: |
| 1638 |
- name: ANSIBLE_GALAXY_COLLECTION_IMPORT_POLL_INTERVAL |
| 1639 |
version_added: '2.18' |
| 1640 |
GALAXY_COLLECTION_IMPORT_POLL_FACTOR: |
| 1641 |
description: |
| 1642 |
- The multiplier used to increase the :ref:`galaxy_collection_import_poll_interval` when checking the collection import status. |
| 1643 |
type: float |
| 1644 |
default: 1.5 |
| 1645 |
env: |
| 1646 |
- name: ANSIBLE_GALAXY_COLLECTION_IMPORT_POLL_FACTOR |
| 1647 |
version_added: "2.18" |
| 1648 |
HOST_KEY_CHECKING: |
| 1649 |
# NOTE: constant not in use by ssh plugin anymore, but it does support the same configuration sources |
| 1650 |
# TODO: check non ssh connection plugins for use/migration |
| 1651 |
name: Toggle host/key check |
| 1652 |
default: True |
| 1653 |
description: |
| 1654 |
- Set this to "False" if you want to avoid host key checking by the underlying connection plugin Ansible uses to connect to the host. |
| 1655 |
- Please read the documentation of the specific connection plugin used for details. |
| 1656 |
env: [{name: ANSIBLE_HOST_KEY_CHECKING}] |
| 1657 |
ini: |
| 1658 |
- {key: host_key_checking, section: defaults} |
| 1659 |
type: boolean |
| 1660 |
HOST_PATTERN_MISMATCH: |
| 1661 |
name: Control host pattern mismatch behaviour |
| 1662 |
default: 'warning' |
| 1663 |
description: This setting changes the behaviour of mismatched host patterns, it allows you to force a fatal error, a warning or just ignore it. |
| 1664 |
env: [{name: ANSIBLE_HOST_PATTERN_MISMATCH}] |
| 1665 |
ini: |
| 1666 |
- {key: host_pattern_mismatch, section: inventory} |
| 1667 |
choices: |
| 1668 |
<<: *basic_error |
| 1669 |
version_added: "2.8" |
| 1670 |
INJECT_INVOCATION: |
| 1671 |
name: Control task result injection of ``invocation`` |
| 1672 |
description: |
| 1673 |
- When enabled, an ``invocation`` key will be added to the task result with the module/action arguments used. |
| 1674 |
Most callback plugins mask the ``invocation`` key from task result display by default. |
| 1675 |
type: boolean |
| 1676 |
default: false |
| 1677 |
env: |
| 1678 |
- name: ANSIBLE_INJECT_INVOCATION |
| 1679 |
ini: |
| 1680 |
- key: inject_invocation |
| 1681 |
section: defaults |
| 1682 |
vars: |
| 1683 |
- name: ansible_inject_invocation |
| 1684 |
version_added: "2.21" |
| 1685 |
INTERPRETER_PYTHON: |
| 1686 |
name: Python interpreter path (or automatic discovery behavior) used for module execution |
| 1687 |
default: auto |
| 1688 |
env: [{name: ANSIBLE_PYTHON_INTERPRETER}] |
| 1689 |
ini: |
| 1690 |
- {key: interpreter_python, section: defaults} |
| 1691 |
vars: |
| 1692 |
- {name: ansible_python_interpreter} |
| 1693 |
version_added: "2.8" |
| 1694 |
description: |
| 1695 |
- Path to the Python interpreter to be used for module execution on remote targets, or an automatic discovery mode. |
| 1696 |
Supported discovery modes are ``auto`` (the default), and ``auto_silent``. |
| 1697 |
All discovery modes match against an ordered list of well-known Python interpreter locations. |
| 1698 |
The fallback behavior will issue a warning that the interpreter should be set explicitly (since interpreters |
| 1699 |
installed later may change which one is used). This warning behavior can be disabled by setting ``auto_silent``. |
| 1700 |
The ``auto_legacy*`` modes are removed. |
| 1701 |
They exist for backward-compatibility with older Ansible releases that always defaulted to ``/usr/bin/python3``, |
| 1702 |
which will use that interpreter if present. |
| 1703 |
INTERPRETER_PYTHON_FALLBACK: |
| 1704 |
name: Ordered list of Python interpreters to check for in discovery |
| 1705 |
default: |
| 1706 |
- python3.15 |
| 1707 |
- python3.14 |
| 1708 |
- python3.13 |
| 1709 |
- python3.12 |
| 1710 |
- python3.11 |
| 1711 |
- python3.10 |
| 1712 |
- python3.9 |
| 1713 |
- /usr/bin/python3 |
| 1714 |
- python3 |
| 1715 |
vars: |
| 1716 |
- name: ansible_interpreter_python_fallback |
| 1717 |
type: list |
| 1718 |
version_added: "2.8" |
| 1719 |
TRANSFORM_INVALID_GROUP_CHARS: |
| 1720 |
name: Transform invalid characters in group names |
| 1721 |
default: 'never' |
| 1722 |
description: |
| 1723 |
- Make ansible transform invalid characters in group names supplied by inventory sources. |
| 1724 |
env: [{name: ANSIBLE_TRANSFORM_INVALID_GROUP_CHARS}] |
| 1725 |
ini: |
| 1726 |
- {key: force_valid_group_names, section: defaults} |
| 1727 |
type: string |
| 1728 |
choices: |
| 1729 |
always: it will replace any invalid characters with '_' (underscore) and warn the user |
| 1730 |
never: it will allow for the group name but warn about the issue |
| 1731 |
ignore: it does the same as 'never', without issuing a warning |
| 1732 |
silently: it does the same as 'always', without issuing a warning |
| 1733 |
version_added: '2.8' |
| 1734 |
INVALID_TASK_ATTRIBUTE_FAILED: |
| 1735 |
name: Controls whether invalid attributes for a task result in errors instead of warnings |
| 1736 |
default: True |
| 1737 |
description: If 'false', invalid attributes for a task will result in warnings instead of errors. |
| 1738 |
type: boolean |
| 1739 |
env: |
| 1740 |
- name: ANSIBLE_INVALID_TASK_ATTRIBUTE_FAILED |
| 1741 |
ini: |
| 1742 |
- key: invalid_task_attribute_failed |
| 1743 |
section: defaults |
| 1744 |
version_added: "2.7" |
| 1745 |
INVENTORY_ANY_UNPARSED_IS_FAILED: |
| 1746 |
name: Controls whether any unparsable inventory source is a fatal error |
| 1747 |
default: False |
| 1748 |
description: > |
| 1749 |
If 'true', it is a fatal error when any given inventory source |
| 1750 |
cannot be successfully parsed by any available inventory plugin; |
| 1751 |
otherwise, this situation only attracts a warning. |
| 1752 |
type: boolean |
| 1753 |
env: [{name: ANSIBLE_INVENTORY_ANY_UNPARSED_IS_FAILED}] |
| 1754 |
ini: |
| 1755 |
- {key: any_unparsed_is_failed, section: inventory} |
| 1756 |
version_added: "2.7" |
| 1757 |
INVENTORY_ENABLED: |
| 1758 |
name: Active Inventory plugins |
| 1759 |
default: ['host_list', 'script', 'auto', 'yaml', 'ini', 'toml'] |
| 1760 |
description: List of enabled inventory plugins, it also determines the order in which they are used. |
| 1761 |
env: [{name: ANSIBLE_INVENTORY_ENABLED}] |
| 1762 |
ini: |
| 1763 |
- {key: enable_plugins, section: inventory} |
| 1764 |
type: list |
| 1765 |
INVENTORY_EXPORT: |
| 1766 |
name: Set ansible-inventory into export mode |
| 1767 |
default: False |
| 1768 |
description: Controls if ansible-inventory will accurately reflect Ansible's view into inventory or its optimized for exporting. |
| 1769 |
env: [{name: ANSIBLE_INVENTORY_EXPORT}] |
| 1770 |
ini: |
| 1771 |
- {key: export, section: inventory} |
| 1772 |
type: bool |
| 1773 |
INVENTORY_IGNORE_EXTS: |
| 1774 |
name: Inventory ignore extensions |
| 1775 |
default: "{{ REJECT_EXTS + ['.orig', '.cfg', '.retry'] }}" |
| 1776 |
description: List of extensions to ignore when using a directory as an inventory source. |
| 1777 |
env: [{name: ANSIBLE_INVENTORY_IGNORE}] |
| 1778 |
ini: |
| 1779 |
- {key: inventory_ignore_extensions, section: defaults} |
| 1780 |
- {key: ignore_extensions, section: inventory} |
| 1781 |
type: list |
| 1782 |
INVENTORY_IGNORE_PATTERNS: |
| 1783 |
name: Inventory ignore patterns |
| 1784 |
default: [] |
| 1785 |
description: List of patterns to ignore when using a directory as an inventory source. |
| 1786 |
env: [{name: ANSIBLE_INVENTORY_IGNORE_REGEX}] |
| 1787 |
ini: |
| 1788 |
- {key: inventory_ignore_patterns, section: defaults} |
| 1789 |
- {key: ignore_patterns, section: inventory} |
| 1790 |
type: list |
| 1791 |
INVENTORY_UNPARSED_IS_FAILED: |
| 1792 |
name: Unparsed Inventory failure |
| 1793 |
default: False |
| 1794 |
description: > |
| 1795 |
If 'true' it is a fatal error if every single potential inventory |
| 1796 |
source fails to parse, otherwise, this situation will only attract a |
| 1797 |
warning. |
| 1798 |
env: [{name: ANSIBLE_INVENTORY_UNPARSED_FAILED}] |
| 1799 |
ini: |
| 1800 |
- {key: unparsed_is_failed, section: inventory} |
| 1801 |
type: bool |
| 1802 |
MAX_FILE_SIZE_FOR_DIFF: |
| 1803 |
name: Diff maximum file size |
| 1804 |
default: 104448 |
| 1805 |
description: Maximum size of files to be considered for diff display. |
| 1806 |
env: [{name: ANSIBLE_MAX_DIFF_SIZE}] |
| 1807 |
ini: |
| 1808 |
- {key: max_diff_size, section: defaults} |
| 1809 |
type: int |
| 1810 |
NETWORK_GROUP_MODULES: |
| 1811 |
name: Network module families |
| 1812 |
default: [eos, nxos, ios, iosxr, junos, enos, ce, vyos, sros, dellos9, dellos10, dellos6, asa, aruba, aireos, bigip, ironware, onyx, netconf, exos, voss, slxos] |
| 1813 |
description: 'TODO: write it' |
| 1814 |
env: |
| 1815 |
- name: ANSIBLE_NETWORK_GROUP_MODULES |
| 1816 |
ini: |
| 1817 |
- {key: network_group_modules, section: defaults} |
| 1818 |
type: list |
| 1819 |
yaml: {key: defaults.network_group_modules} |
| 1820 |
INJECT_FACTS_AS_VARS: |
| 1821 |
default: True |
| 1822 |
description: |
| 1823 |
- Facts are available inside the `ansible_facts` variable, this setting also pushes them as their own vars in the main namespace. |
| 1824 |
- Unlike inside the `ansible_facts` dictionary where the prefix `ansible_` is removed from fact names, these will have the exact names that are returned by the module. |
| 1825 |
env: [{name: ANSIBLE_INJECT_FACT_VARS}] |
| 1826 |
ini: |
| 1827 |
- {key: inject_facts_as_vars, section: defaults} |
| 1828 |
type: boolean |
| 1829 |
version_added: "2.5" |
| 1830 |
MODULE_IGNORE_EXTS: |
| 1831 |
name: Module ignore extensions |
| 1832 |
default: "{{ REJECT_EXTS + ['.yaml', '.yml', '.ini'] }}" |
| 1833 |
description: |
| 1834 |
- List of extensions to ignore when looking for modules to load. |
| 1835 |
- This is for rejecting script and binary module fallback extensions. |
| 1836 |
env: [{name: ANSIBLE_MODULE_IGNORE_EXTS}] |
| 1837 |
ini: |
| 1838 |
- {key: module_ignore_exts, section: defaults} |
| 1839 |
type: list |
| 1840 |
MODULE_STRICT_UTF8_RESPONSE: |
| 1841 |
name: Module strict UTF-8 response |
| 1842 |
description: |
| 1843 |
- Enables whether module responses are evaluated for containing non-UTF-8 data. |
| 1844 |
- Disabling this may result in unexpected behavior. |
| 1845 |
- Only ansible-core should evaluate this configuration. |
| 1846 |
env: [{name: ANSIBLE_MODULE_STRICT_UTF8_RESPONSE}] |
| 1847 |
ini: |
| 1848 |
- {key: module_strict_utf8_response, section: defaults} |
| 1849 |
type: bool |
| 1850 |
default: True |
| 1851 |
OLD_PLUGIN_CACHE_CLEARING: |
| 1852 |
description: Previously Ansible would only clear some of the plugin loading caches when loading new roles, this led to some behaviors in which a plugin loaded in previous plays would be unexpectedly 'sticky'. This setting allows the user to return to that behavior. |
| 1853 |
env: [{name: ANSIBLE_OLD_PLUGIN_CACHE_CLEAR}] |
| 1854 |
ini: |
| 1855 |
- {key: old_plugin_cache_clear, section: defaults} |
| 1856 |
type: boolean |
| 1857 |
default: False |
| 1858 |
version_added: "2.8" |
| 1859 |
PAGER: |
| 1860 |
name: pager application to use |
| 1861 |
default: less |
| 1862 |
description: |
| 1863 |
- for the cases in which Ansible needs to return output in a pageable fashion, this chooses the application to use. |
| 1864 |
ini: |
| 1865 |
- section: defaults |
| 1866 |
key: pager |
| 1867 |
version_added: '2.15' |
| 1868 |
env: |
| 1869 |
- name: ANSIBLE_PAGER |
| 1870 |
version_added: '2.15' |
| 1871 |
- name: PAGER |
| 1872 |
PERSISTENT_CONTROL_PATH_DIR: |
| 1873 |
name: Persistence socket path |
| 1874 |
default: '{{ ANSIBLE_HOME ~ "/pc" }}' |
| 1875 |
description: Path to the socket to be used by the connection persistence system. |
| 1876 |
env: [{name: ANSIBLE_PERSISTENT_CONTROL_PATH_DIR}] |
| 1877 |
ini: |
| 1878 |
- {key: control_path_dir, section: persistent_connection} |
| 1879 |
type: path |
| 1880 |
PERSISTENT_CONNECT_TIMEOUT: |
| 1881 |
name: Persistence timeout |
| 1882 |
default: 30 |
| 1883 |
description: This controls how long the persistent connection will remain idle before it is destroyed. |
| 1884 |
env: [{name: ANSIBLE_PERSISTENT_CONNECT_TIMEOUT}] |
| 1885 |
ini: |
| 1886 |
- {key: connect_timeout, section: persistent_connection} |
| 1887 |
type: integer |
| 1888 |
PERSISTENT_CONNECT_RETRY_TIMEOUT: |
| 1889 |
name: Persistence connection retry timeout |
| 1890 |
default: 15 |
| 1891 |
description: This controls the retry timeout for persistent connection to connect to the local domain socket. |
| 1892 |
env: [{name: ANSIBLE_PERSISTENT_CONNECT_RETRY_TIMEOUT}] |
| 1893 |
ini: |
| 1894 |
- {key: connect_retry_timeout, section: persistent_connection} |
| 1895 |
type: integer |
| 1896 |
PERSISTENT_COMMAND_TIMEOUT: |
| 1897 |
name: Persistence command timeout |
| 1898 |
default: 30 |
| 1899 |
description: This controls the amount of time to wait for a response from a remote device before timing out a persistent connection. |
| 1900 |
env: [{name: ANSIBLE_PERSISTENT_COMMAND_TIMEOUT}] |
| 1901 |
ini: |
| 1902 |
- {key: command_timeout, section: persistent_connection} |
| 1903 |
type: int |
| 1904 |
PLAYBOOK_DIR: |
| 1905 |
name: playbook dir override for non-playbook CLIs (ala --playbook-dir) |
| 1906 |
version_added: "2.9" |
| 1907 |
description: |
| 1908 |
- A number of non-playbook CLIs have a ``--playbook-dir`` argument; this sets the default value for it. |
| 1909 |
env: [{name: ANSIBLE_PLAYBOOK_DIR}] |
| 1910 |
ini: [{key: playbook_dir, section: defaults}] |
| 1911 |
type: path |
| 1912 |
PLAYBOOK_VARS_ROOT: |
| 1913 |
name: playbook vars files root |
| 1914 |
default: top |
| 1915 |
version_added: "2.4.1" |
| 1916 |
description: |
| 1917 |
- This sets which playbook dirs will be used as a root to process vars plugins, which includes finding host_vars/group_vars. |
| 1918 |
env: [{name: ANSIBLE_PLAYBOOK_VARS_ROOT}] |
| 1919 |
ini: |
| 1920 |
- {key: playbook_vars_root, section: defaults} |
| 1921 |
choices: |
| 1922 |
top: follows the traditional behavior of using the top playbook in the chain to find the root directory. |
| 1923 |
bottom: follows the 2.4.0 behavior of using the current playbook to find the root directory. |
| 1924 |
all: examines from the first parent to the current playbook. |
| 1925 |
PLUGIN_FILTERS_CFG: |
| 1926 |
name: Config file for limiting valid plugins |
| 1927 |
default: null |
| 1928 |
version_added: "2.5.0" |
| 1929 |
description: |
| 1930 |
- "A path to configuration for filtering which plugins installed on the system are allowed to be used." |
| 1931 |
- "See :ref:`plugin_filtering_config` for details of the filter file's format." |
| 1932 |
- " The default is /etc/ansible/plugin_filters.yml" |
| 1933 |
ini: |
| 1934 |
- key: plugin_filters_cfg |
| 1935 |
section: defaults |
| 1936 |
type: path |
| 1937 |
PYTHON_MODULE_RLIMIT_NOFILE: |
| 1938 |
name: Adjust maximum file descriptor soft limit during Python module execution |
| 1939 |
description: |
| 1940 |
- Attempts to set RLIMIT_NOFILE soft limit to the specified value when executing Python modules (can speed up subprocess usage on |
| 1941 |
Python 2.x. See https://bugs.python.org/issue11284). The value will be limited by the existing hard limit. Default |
| 1942 |
value of 0 does not attempt to adjust existing system-defined limits. |
| 1943 |
default: 0 |
| 1944 |
env: |
| 1945 |
- {name: ANSIBLE_PYTHON_MODULE_RLIMIT_NOFILE} |
| 1946 |
ini: |
| 1947 |
- {key: python_module_rlimit_nofile, section: defaults} |
| 1948 |
vars: |
| 1949 |
- {name: ansible_python_module_rlimit_nofile} |
| 1950 |
version_added: '2.8' |
| 1951 |
RETRY_FILES_ENABLED: |
| 1952 |
name: Retry files |
| 1953 |
default: False |
| 1954 |
description: This controls whether a failed Ansible playbook should create a .retry file. |
| 1955 |
env: [{name: ANSIBLE_RETRY_FILES_ENABLED}] |
| 1956 |
ini: |
| 1957 |
- {key: retry_files_enabled, section: defaults} |
| 1958 |
type: bool |
| 1959 |
RETRY_FILES_SAVE_PATH: |
| 1960 |
name: Retry files path |
| 1961 |
default: ~ |
| 1962 |
description: |
| 1963 |
- This sets the path in which Ansible will save .retry files when a playbook fails and retry files are enabled. |
| 1964 |
- This file will be overwritten after each run with the list of failed hosts from all plays. |
| 1965 |
env: [{name: ANSIBLE_RETRY_FILES_SAVE_PATH}] |
| 1966 |
ini: |
| 1967 |
- {key: retry_files_save_path, section: defaults} |
| 1968 |
type: path |
| 1969 |
RUN_VARS_PLUGINS: |
| 1970 |
name: When should vars plugins run relative to inventory |
| 1971 |
default: demand |
| 1972 |
description: |
| 1973 |
- This setting can be used to optimize vars_plugin usage depending on the user's inventory size and play selection. |
| 1974 |
env: [{name: ANSIBLE_RUN_VARS_PLUGINS}] |
| 1975 |
ini: |
| 1976 |
- {key: run_vars_plugins, section: defaults} |
| 1977 |
type: str |
| 1978 |
choices: |
| 1979 |
demand: will run vars_plugins relative to inventory sources anytime vars are 'demanded' by tasks. |
| 1980 |
start: will run vars_plugins relative to inventory sources after importing that inventory source. |
| 1981 |
version_added: "2.10" |
| 1982 |
SHOW_CUSTOM_STATS: |
| 1983 |
name: Display custom stats |
| 1984 |
default: False |
| 1985 |
description: 'This adds the custom stats set via the set_stats plugin to the default output.' |
| 1986 |
env: [{name: ANSIBLE_SHOW_CUSTOM_STATS}] |
| 1987 |
ini: |
| 1988 |
- {key: show_custom_stats, section: defaults} |
| 1989 |
type: bool |
| 1990 |
SSH_AGENT: |
| 1991 |
name: Manage an SSH Agent |
| 1992 |
description: Manage an SSH Agent via Ansible. A configuration of ``none`` will not interact with an agent, |
| 1993 |
``auto`` will start and destroy an agent via ``ssh-agent`` binary during the run, and a path |
| 1994 |
to an SSH_AUTH_SOCK will allow interaction with a pre-existing agent. |
| 1995 |
default: none |
| 1996 |
type: string |
| 1997 |
env: [{name: ANSIBLE_SSH_AGENT}] |
| 1998 |
ini: [{key: ssh_agent, section: connection}] |
| 1999 |
version_added: '2.19' |
| 2000 |
SSH_AGENT_EXECUTABLE: |
| 2001 |
name: Executable to start for the ansible-managed SSH agent |
| 2002 |
description: When ``SSH_AGENT`` is ``auto``, the path or name of the ssh agent executable to start. |
| 2003 |
default: ssh-agent |
| 2004 |
type: str |
| 2005 |
env: [ { name: ANSIBLE_SSH_AGENT_EXECUTABLE } ] |
| 2006 |
ini: [ { key: ssh_agent_executable, section: connection } ] |
| 2007 |
version_added: '2.19' |
| 2008 |
SSH_AGENT_KEY_LIFETIME: |
| 2009 |
name: Set a maximum lifetime when adding identities to an agent |
| 2010 |
description: For keys inserted into an agent defined by ``SSH_AGENT``, define a lifetime, in seconds, that the key may remain |
| 2011 |
in the agent. |
| 2012 |
type: int |
| 2013 |
env: [{name: ANSIBLE_SSH_AGENT_KEY_LIFETIME}] |
| 2014 |
ini: [{key: ssh_agent_key_lifetime, section: connection}] |
| 2015 |
version_added: '2.19' |
| 2016 |
STRING_TYPE_FILTERS: |
| 2017 |
name: Filters to preserve strings |
| 2018 |
default: [string, to_json, to_nice_json, to_yaml, to_nice_yaml, ppretty, json] |
| 2019 |
description: |
| 2020 |
- "This list of filters avoids 'type conversion' when templating variables." |
| 2021 |
- Useful when you want to avoid conversion into lists or dictionaries for JSON strings, for example. |
| 2022 |
env: [{name: ANSIBLE_STRING_TYPE_FILTERS}] |
| 2023 |
ini: |
| 2024 |
- {key: dont_type_filters, section: jinja2} |
| 2025 |
type: list |
| 2026 |
deprecated: |
| 2027 |
why: This option has no effect. |
| 2028 |
version: "2.23" |
| 2029 |
alternatives: None; native types returned from filters are always preserved. |
| 2030 |
SYSTEM_WARNINGS: |
| 2031 |
name: System warnings |
| 2032 |
default: True |
| 2033 |
description: |
| 2034 |
- Allows disabling of warnings related to potential issues on the system running Ansible itself (not on the managed hosts). |
| 2035 |
- These may include warnings about third-party packages or other conditions that should be resolved if possible. |
| 2036 |
env: [{name: ANSIBLE_SYSTEM_WARNINGS}] |
| 2037 |
ini: |
| 2038 |
- {key: system_warnings, section: defaults} |
| 2039 |
type: boolean |
| 2040 |
TAGS_RUN: |
| 2041 |
name: Run Tags |
| 2042 |
default: [] |
| 2043 |
type: list |
| 2044 |
description: default list of tags to run in your plays, Skip Tags has precedence. |
| 2045 |
env: [{name: ANSIBLE_RUN_TAGS}] |
| 2046 |
ini: |
| 2047 |
- {key: run, section: tags} |
| 2048 |
version_added: "2.5" |
| 2049 |
TAGS_SKIP: |
| 2050 |
name: Skip Tags |
| 2051 |
default: [] |
| 2052 |
type: list |
| 2053 |
description: default list of tags to skip in your plays, has precedence over Run Tags |
| 2054 |
env: [{name: ANSIBLE_SKIP_TAGS}] |
| 2055 |
ini: |
| 2056 |
- {key: skip, section: tags} |
| 2057 |
version_added: "2.5" |
| 2058 |
TARGET_LOG_INFO: |
| 2059 |
name: Target log info |
| 2060 |
description: A string to insert into target logging for tracking purposes |
| 2061 |
env: [{name: ANSIBLE_TARGET_LOG_INFO}] |
| 2062 |
ini: |
| 2063 |
- {key: target_log_info, section: defaults} |
| 2064 |
vars: |
| 2065 |
- name: ansible_target_log_info |
| 2066 |
version_added: "2.17" |
| 2067 |
TASK_TIMEOUT: |
| 2068 |
name: Task Timeout |
| 2069 |
default: 0 |
| 2070 |
description: |
| 2071 |
- Set the maximum time (in seconds) for a task action to execute in. |
| 2072 |
- Timeout runs independently from templating or looping. |
| 2073 |
It applies per each attempt of executing the task's action and remains unchanged by the total time spent on a task. |
| 2074 |
- When the action execution exceeds the timeout, Ansible interrupts the process. |
| 2075 |
This is registered as a failure due to outside circumstances, not a task failure, to receive appropriate response and recovery process. |
| 2076 |
- If set to 0 (the default) there is no timeout. |
| 2077 |
env: [{name: ANSIBLE_TASK_TIMEOUT}] |
| 2078 |
ini: |
| 2079 |
- {key: task_timeout, section: defaults} |
| 2080 |
type: integer |
| 2081 |
version_added: '2.10' |
| 2082 |
_TEMPLAR_SANDBOX_MODE: |
| 2083 |
name: Control Jinja template sandbox behavior |
| 2084 |
default: default |
| 2085 |
description: |
| 2086 |
- The default Jinja sandbox behavior blocks template access to all `_` prefixed object attributes and known collection mutation methods (e.g., `dict.clear()`, `list.append()`). |
| 2087 |
type: choices |
| 2088 |
choices: |
| 2089 |
- default |
| 2090 |
- allow_unsafe_attributes |
| 2091 |
env: [{name: _ANSIBLE_TEMPLAR_SANDBOX_MODE}] |
| 2092 |
deprecated: |
| 2093 |
why: controlling sandbox behavior is a temporary workaround |
| 2094 |
version: '2.23' |
| 2095 |
_TEMPLAR_UNKNOWN_TYPE_CONVERSION: |
| 2096 |
name: Templar unknown type conversion behavior |
| 2097 |
default: warning |
| 2098 |
description: |
| 2099 |
- Action to take when an unknown type is converted for variable storage during template finalization. |
| 2100 |
- This setting has no effect on the inability to store unsupported variable types as the result of templating. |
| 2101 |
- Experimental diagnostic feature, subject to change. |
| 2102 |
type: choices |
| 2103 |
choices: *basic_error |
| 2104 |
env: [{name: _ANSIBLE_TEMPLAR_UNKNOWN_TYPE_CONVERSION}] |
| 2105 |
version_added: '2.19' |
| 2106 |
_TEMPLAR_UNKNOWN_TYPE_ENCOUNTERED: |
| 2107 |
name: Templar unknown type encountered behavior |
| 2108 |
default: ignore |
| 2109 |
description: |
| 2110 |
- Action to take when an unknown type is encountered inside a template pipeline. |
| 2111 |
- Experimental diagnostic feature, subject to change. |
| 2112 |
type: choices |
| 2113 |
choices: *basic_error |
| 2114 |
env: [{name: _ANSIBLE_TEMPLAR_UNKNOWN_TYPE_ENCOUNTERED}] |
| 2115 |
version_added: '2.19' |
| 2116 |
_TEMPLAR_UNTRUSTED_TEMPLATE_BEHAVIOR: |
| 2117 |
name: Templar untrusted template behavior |
| 2118 |
default: ignore |
| 2119 |
description: |
| 2120 |
- Action to take when processing of an untrusted template is skipped. |
| 2121 |
- For `ignore` or `warn`, the input template string is returned as-is. |
| 2122 |
- This setting has no effect on expressions. |
| 2123 |
- Experimental diagnostic feature, subject to change. |
| 2124 |
type: choices |
| 2125 |
choices: *basic_error |
| 2126 |
env: [{name: _ANSIBLE_TEMPLAR_UNTRUSTED_TEMPLATE_BEHAVIOR}] |
| 2127 |
version_added: '2.19' |
| 2128 |
WORKER_SESSION_ISOLATION: |
| 2129 |
name: Control worker session isolation |
| 2130 |
description: |
| 2131 |
- Ansible forked workers run session-isolated by default to avoid contention on shared TTYs. |
| 2132 |
- If access to the inherited parent TTY is required, set this option to ``false`` to disable session isolation. |
| 2133 |
- Disabling session isolation should be limited to the smallest possible scope by setting the ``ansible_worker_session_isolation`` variable on individual tasks, blocks, plays, roles, or hosts as needed. |
| 2134 |
default: true |
| 2135 |
env: |
| 2136 |
- name: ANSIBLE_WORKER_SESSION_ISOLATION |
| 2137 |
ini: |
| 2138 |
- key: worker_session_isolation |
| 2139 |
section: defaults |
| 2140 |
vars: |
| 2141 |
- { name: ansible_worker_session_isolation } |
| 2142 |
type: boolean |
| 2143 |
version_added: '2.21' |
| 2144 |
WORKER_SHUTDOWN_POLL_COUNT: |
| 2145 |
name: Worker Shutdown Poll Count |
| 2146 |
default: 0 |
| 2147 |
description: |
| 2148 |
- The maximum number of times to check Task Queue Manager worker processes to verify they have exited cleanly. |
| 2149 |
- After this limit is reached any worker processes still running will be terminated. |
| 2150 |
- This is for internal use only. |
| 2151 |
env: [{name: ANSIBLE_WORKER_SHUTDOWN_POLL_COUNT}] |
| 2152 |
type: integer |
| 2153 |
version_added: '2.10' |
| 2154 |
WORKER_SHUTDOWN_POLL_DELAY: |
| 2155 |
name: Worker Shutdown Poll Delay |
| 2156 |
default: 0.1 |
| 2157 |
description: |
| 2158 |
- The number of seconds to sleep between polling loops when checking Task Queue Manager worker processes to verify they have exited cleanly. |
| 2159 |
- This is for internal use only. |
| 2160 |
env: [{name: ANSIBLE_WORKER_SHUTDOWN_POLL_DELAY}] |
| 2161 |
type: float |
| 2162 |
version_added: '2.10' |
| 2163 |
USE_PERSISTENT_CONNECTIONS: |
| 2164 |
name: Persistence |
| 2165 |
default: False |
| 2166 |
description: Toggles the use of persistence for connections. |
| 2167 |
env: [{name: ANSIBLE_USE_PERSISTENT_CONNECTIONS}] |
| 2168 |
ini: |
| 2169 |
- {key: use_persistent_connections, section: defaults} |
| 2170 |
type: boolean |
| 2171 |
VARIABLE_PLUGINS_ENABLED: |
| 2172 |
name: Vars plugin enabled list |
| 2173 |
default: ['host_group_vars'] |
| 2174 |
description: Accept list for variable plugins that require it. |
| 2175 |
env: [{name: ANSIBLE_VARS_ENABLED}] |
| 2176 |
ini: |
| 2177 |
- {key: vars_plugins_enabled, section: defaults} |
| 2178 |
type: list |
| 2179 |
version_added: "2.10" |
| 2180 |
VARIABLE_PRECEDENCE: |
| 2181 |
name: Group variable precedence |
| 2182 |
default: ['all_inventory', 'groups_inventory', 'all_plugins_inventory', 'all_plugins_play', 'groups_plugins_inventory', 'groups_plugins_play'] |
| 2183 |
description: Allows to change the group variable precedence merge order. |
| 2184 |
env: [{name: ANSIBLE_PRECEDENCE}] |
| 2185 |
ini: |
| 2186 |
- {key: precedence, section: defaults} |
| 2187 |
type: list |
| 2188 |
version_added: "2.4" |
| 2189 |
WIN_ASYNC_STARTUP_TIMEOUT: |
| 2190 |
name: Windows Async Startup Timeout |
| 2191 |
default: 5 |
| 2192 |
description: |
| 2193 |
- For asynchronous tasks in Ansible (covered in Asynchronous Actions and Polling), |
| 2194 |
this is how long, in seconds, to wait for the task spawned by Ansible to connect back to the named pipe used |
| 2195 |
on Windows systems. The default is 5 seconds. This can be too low on slower systems, or systems under heavy load. |
| 2196 |
- This is not the total time an async command can run for, but is a separate timeout to wait for an async command to |
| 2197 |
start. The task will only start to be timed against its async_timeout once it has connected to the pipe, so the |
| 2198 |
overall maximum duration the task can take will be extended by the amount specified here. |
| 2199 |
env: [{name: ANSIBLE_WIN_ASYNC_STARTUP_TIMEOUT}] |
| 2200 |
ini: |
| 2201 |
- {key: win_async_startup_timeout, section: defaults} |
| 2202 |
type: integer |
| 2203 |
vars: |
| 2204 |
- {name: ansible_win_async_startup_timeout} |
| 2205 |
version_added: '2.10' |
| 2206 |
YAML_FILENAME_EXTENSIONS: |
| 2207 |
name: Valid YAML extensions |
| 2208 |
default: [".yml", ".yaml", ".json"] |
| 2209 |
description: |
| 2210 |
- "Check all of these extensions when looking for 'variable' files which should be YAML or JSON or vaulted versions of these." |
| 2211 |
- 'This affects vars_files, include_vars, inventory and vars plugins among others.' |
| 2212 |
env: |
| 2213 |
- name: ANSIBLE_YAML_FILENAME_EXT |
| 2214 |
ini: |
| 2215 |
- section: defaults |
| 2216 |
key: yaml_valid_extensions |
| 2217 |
type: list |
| 2218 |
NETCONF_SSH_CONFIG: |
| 2219 |
description: This variable is used to enable bastion/jump host with netconf connection. If set to True the bastion/jump |
| 2220 |
host ssh settings should be present in ~/.ssh/config file, alternatively it can be set |
| 2221 |
to custom ssh configuration file path to read the bastion/jump host settings. |
| 2222 |
env: [{name: ANSIBLE_NETCONF_SSH_CONFIG}] |
| 2223 |
ini: |
| 2224 |
- {key: ssh_config, section: netconf_connection} |
| 2225 |
yaml: {key: netconf_connection.ssh_config} |
| 2226 |
default: null |
| 2227 |
VALIDATE_ACTION_GROUP_METADATA: |
| 2228 |
version_added: '2.12' |
| 2229 |
description: |
| 2230 |
- A toggle to disable validating a collection's 'metadata' entry for a module_defaults action group. |
| 2231 |
Metadata containing unexpected fields or value types will produce a warning when this is True. |
| 2232 |
default: True |
| 2233 |
env: [{name: ANSIBLE_VALIDATE_ACTION_GROUP_METADATA}] |
| 2234 |
ini: |
| 2235 |
- section: defaults |
| 2236 |
key: validate_action_group_metadata |
| 2237 |
type: bool |
| 2238 |
VERBOSE_TO_STDERR: |
| 2239 |
version_added: '2.8' |
| 2240 |
description: |
| 2241 |
- Force 'verbose' option to use stderr instead of stdout |
| 2242 |
default: False |
| 2243 |
env: |
| 2244 |
- name: ANSIBLE_VERBOSE_TO_STDERR |
| 2245 |
ini: |
| 2246 |
- section: defaults |
| 2247 |
key: verbose_to_stderr |
| 2248 |
type: bool |
| 2249 |
_Z_TEST_ENTRY: |
| 2250 |
name: testentry |
| 2251 |
description: for tests |
| 2252 |
env: |
| 2253 |
- name: ANSIBLE_TEST_ENTRY |
| 2254 |
- name: ANSIBLE_TEST_ENTRY_D |
| 2255 |
deprecated: |
| 2256 |
why: for testing |
| 2257 |
version: '3.30' |
| 2258 |
alternatives: nothing |
| 2259 |
ini: |
| 2260 |
- section: testing |
| 2261 |
key: valid |
| 2262 |
- section: testing |
| 2263 |
key: deprecated |
| 2264 |
deprecated: |
| 2265 |
why: for testing |
| 2266 |
version: '3.30' |
| 2267 |
alternatives: nothing |
| 2268 |
vars: |
| 2269 |
- name: _z_test_entry |
| 2270 |
_Z_TEST_ENTRY_2: |
| 2271 |
version_added: '2.18' |
| 2272 |
name: testentry |
| 2273 |
description: for tests |
| 2274 |
deprecated: |
| 2275 |
why: for testing |
| 2276 |
version: '3.30' |
| 2277 |
alternatives: nothing |
| 2278 |
env: |
| 2279 |
- name: ANSIBLE_TEST_ENTRY2 |
| 2280 |
ini: |
| 2281 |
- section: testing |
| 2282 |
key: valid2 |
| 2283 |
_Z_TEST_ENTRY_3: |
| 2284 |
version_added: '2.21' |
| 2285 |
name: testentry |
| 2286 |
description: for tests |
| 2287 |
type: path |
| 2288 |
default: '{{ANSIBLE_HOME}}' |
| 2289 |
env: |
| 2290 |
- name: ANSIBLE_TEST_ENTRY3 |
| 2291 |
ini: |
| 2292 |
- section: testing |
| 2293 |
key: valid3 |