ansible-core 2.16.7rc1__py3-none-any.whl → 2.17.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of ansible-core might be problematic. Click here for more details.
- ansible/__init__.py +1 -3
- ansible/__main__.py +1 -0
- ansible/_vendor/__init__.py +1 -2
- ansible/cli/__init__.py +7 -8
- ansible/cli/adhoc.py +1 -2
- ansible/cli/arguments/__init__.py +1 -2
- ansible/cli/arguments/option_helpers.py +1 -2
- ansible/cli/config.py +1 -2
- ansible/cli/console.py +1 -2
- ansible/cli/doc.py +326 -202
- ansible/cli/galaxy.py +9 -3
- ansible/cli/inventory.py +4 -6
- ansible/cli/playbook.py +1 -2
- ansible/cli/pull.py +4 -5
- ansible/cli/scripts/ansible_connection_cli_stub.py +1 -4
- ansible/cli/vault.py +1 -2
- ansible/collections/list.py +1 -0
- ansible/compat/__init__.py +1 -4
- ansible/compat/importlib_resources.py +1 -2
- ansible/compat/{selectors/__init__.py → selectors.py} +12 -12
- ansible/config/ansible_builtin_runtime.yml +2 -0
- ansible/config/base.yml +154 -149
- ansible/config/manager.py +33 -25
- ansible/constants.py +1 -2
- ansible/context.py +1 -4
- ansible/errors/__init__.py +1 -3
- ansible/errors/yaml_strings.py +1 -3
- ansible/executor/__init__.py +1 -3
- ansible/executor/discovery/python_target.py +1 -2
- ansible/executor/interpreter_discovery.py +9 -8
- ansible/executor/module_common.py +1 -3
- ansible/executor/play_iterator.py +1 -3
- ansible/executor/playbook_executor.py +1 -3
- ansible/executor/powershell/module_manifest.py +2 -3
- ansible/executor/process/__init__.py +1 -3
- ansible/executor/process/worker.py +1 -3
- ansible/executor/stats.py +1 -3
- ansible/executor/task_executor.py +2 -3
- ansible/executor/task_queue_manager.py +1 -3
- ansible/executor/task_result.py +2 -3
- ansible/galaxy/__init__.py +1 -2
- ansible/galaxy/api.py +10 -2
- ansible/galaxy/collection/__init__.py +38 -24
- ansible/galaxy/collection/concrete_artifact_manager.py +1 -2
- ansible/galaxy/collection/galaxy_api_proxy.py +1 -2
- ansible/galaxy/collection/gpg.py +4 -2
- ansible/galaxy/data/apb/meta/main.yml.j2 +0 -15
- ansible/galaxy/data/container/meta/main.yml.j2 +0 -18
- ansible/galaxy/data/default/role/meta/main.yml.j2 +0 -18
- ansible/galaxy/data/network/cliconf_plugins/example.py.j2 +1 -2
- ansible/galaxy/data/network/library/example_command.py.j2 +1 -2
- ansible/galaxy/data/network/library/example_config.py.j2 +1 -2
- ansible/galaxy/data/network/library/example_facts.py.j2 +1 -2
- ansible/galaxy/data/network/meta/main.yml.j2 +0 -15
- ansible/galaxy/data/network/module_utils/example.py.j2 +1 -2
- ansible/galaxy/data/network/netconf_plugins/example.py.j2 +1 -2
- ansible/galaxy/data/network/terminal_plugins/example.py.j2 +1 -2
- ansible/galaxy/dependency_resolution/__init__.py +1 -2
- ansible/galaxy/dependency_resolution/dataclasses.py +5 -6
- ansible/galaxy/dependency_resolution/errors.py +1 -2
- ansible/galaxy/dependency_resolution/providers.py +3 -4
- ansible/galaxy/dependency_resolution/reporters.py +2 -3
- ansible/galaxy/dependency_resolution/resolvers.py +1 -2
- ansible/galaxy/dependency_resolution/versioning.py +1 -2
- ansible/galaxy/role.py +2 -3
- ansible/galaxy/token.py +1 -2
- ansible/galaxy/user_agent.py +1 -2
- ansible/inventory/data.py +1 -2
- ansible/inventory/group.py +1 -2
- ansible/inventory/helpers.py +1 -2
- ansible/inventory/host.py +1 -3
- ansible/inventory/manager.py +1 -2
- ansible/module_utils/_text.py +1 -2
- ansible/module_utils/ansible_release.py +3 -5
- ansible/module_utils/api.py +1 -2
- ansible/module_utils/basic.py +113 -158
- ansible/module_utils/common/_collections_compat.py +1 -2
- ansible/module_utils/common/_utils.py +1 -3
- ansible/module_utils/common/arg_spec.py +1 -2
- ansible/module_utils/common/collections.py +1 -2
- ansible/module_utils/common/dict_transformations.py +1 -2
- ansible/module_utils/common/file.py +10 -5
- ansible/module_utils/common/json.py +1 -3
- ansible/module_utils/common/locale.py +1 -2
- ansible/module_utils/common/network.py +2 -3
- ansible/module_utils/common/parameters.py +9 -9
- ansible/module_utils/common/process.py +12 -5
- ansible/module_utils/common/respawn.py +2 -3
- ansible/module_utils/common/sys_info.py +1 -2
- ansible/module_utils/common/text/converters.py +1 -2
- ansible/module_utils/common/text/formatters.py +1 -2
- ansible/module_utils/common/validation.py +5 -6
- ansible/module_utils/common/warnings.py +1 -2
- ansible/module_utils/common/yaml.py +1 -2
- ansible/module_utils/compat/datetime.py +1 -3
- ansible/module_utils/compat/importlib.py +21 -13
- ansible/module_utils/compat/paramiko.py +1 -2
- ansible/module_utils/compat/selectors.py +10 -34
- ansible/module_utils/compat/selinux.py +1 -2
- ansible/module_utils/compat/typing.py +1 -2
- ansible/module_utils/compat/version.py +1 -2
- ansible/module_utils/connection.py +1 -2
- ansible/module_utils/csharp/Ansible.Basic.cs +20 -3
- ansible/module_utils/distro/__init__.py +3 -4
- ansible/module_utils/distro/_distro.py +230 -234
- ansible/module_utils/errors.py +1 -2
- ansible/module_utils/facts/__init__.py +1 -2
- ansible/module_utils/facts/ansible_collector.py +1 -2
- ansible/module_utils/facts/collector.py +1 -2
- ansible/module_utils/facts/compat.py +1 -2
- ansible/module_utils/facts/default_collectors.py +1 -2
- ansible/module_utils/facts/hardware/aix.py +1 -2
- ansible/module_utils/facts/hardware/base.py +1 -2
- ansible/module_utils/facts/hardware/darwin.py +1 -2
- ansible/module_utils/facts/hardware/dragonfly.py +1 -2
- ansible/module_utils/facts/hardware/freebsd.py +1 -2
- ansible/module_utils/facts/hardware/hpux.py +1 -2
- ansible/module_utils/facts/hardware/hurd.py +1 -2
- ansible/module_utils/facts/hardware/linux.py +8 -6
- ansible/module_utils/facts/hardware/netbsd.py +1 -2
- ansible/module_utils/facts/hardware/openbsd.py +1 -2
- ansible/module_utils/facts/hardware/sunos.py +2 -3
- ansible/module_utils/facts/namespace.py +1 -2
- ansible/module_utils/facts/network/aix.py +1 -2
- ansible/module_utils/facts/network/base.py +1 -2
- ansible/module_utils/facts/network/darwin.py +1 -2
- ansible/module_utils/facts/network/dragonfly.py +1 -2
- ansible/module_utils/facts/network/fc_wwn.py +1 -2
- ansible/module_utils/facts/network/freebsd.py +1 -2
- ansible/module_utils/facts/network/generic_bsd.py +1 -2
- ansible/module_utils/facts/network/hpux.py +1 -2
- ansible/module_utils/facts/network/hurd.py +1 -2
- ansible/module_utils/facts/network/iscsi.py +1 -2
- ansible/module_utils/facts/network/linux.py +1 -2
- ansible/module_utils/facts/network/netbsd.py +1 -2
- ansible/module_utils/facts/network/nvme.py +1 -2
- ansible/module_utils/facts/network/openbsd.py +1 -2
- ansible/module_utils/facts/network/sunos.py +1 -2
- ansible/module_utils/facts/other/facter.py +1 -2
- ansible/module_utils/facts/other/ohai.py +1 -2
- ansible/module_utils/facts/packages.py +1 -2
- ansible/module_utils/facts/sysctl.py +1 -2
- ansible/module_utils/facts/system/apparmor.py +1 -2
- ansible/module_utils/facts/system/caps.py +1 -2
- ansible/module_utils/facts/system/chroot.py +1 -2
- ansible/module_utils/facts/system/cmdline.py +1 -2
- ansible/module_utils/facts/system/date_time.py +1 -2
- ansible/module_utils/facts/system/distribution.py +4 -5
- ansible/module_utils/facts/system/dns.py +1 -2
- ansible/module_utils/facts/system/env.py +1 -2
- ansible/module_utils/facts/system/fips.py +1 -2
- ansible/module_utils/facts/system/loadavg.py +1 -2
- ansible/module_utils/facts/system/local.py +1 -2
- ansible/module_utils/facts/system/lsb.py +1 -2
- ansible/module_utils/facts/system/pkg_mgr.py +7 -30
- ansible/module_utils/facts/system/platform.py +1 -2
- ansible/module_utils/facts/system/python.py +1 -2
- ansible/module_utils/facts/system/selinux.py +1 -2
- ansible/module_utils/facts/system/service_mgr.py +1 -2
- ansible/module_utils/facts/system/ssh_pub_keys.py +1 -2
- ansible/module_utils/facts/system/user.py +1 -2
- ansible/module_utils/facts/timeout.py +1 -2
- ansible/module_utils/facts/utils.py +1 -2
- ansible/module_utils/facts/virtual/base.py +1 -2
- ansible/module_utils/facts/virtual/dragonfly.py +1 -2
- ansible/module_utils/facts/virtual/freebsd.py +1 -2
- ansible/module_utils/facts/virtual/hpux.py +1 -2
- ansible/module_utils/facts/virtual/linux.py +1 -2
- ansible/module_utils/facts/virtual/netbsd.py +1 -2
- ansible/module_utils/facts/virtual/openbsd.py +1 -2
- ansible/module_utils/facts/virtual/sunos.py +1 -2
- ansible/module_utils/facts/virtual/sysctl.py +1 -2
- ansible/module_utils/json_utils.py +1 -2
- ansible/module_utils/parsing/convert_bool.py +1 -2
- ansible/module_utils/powershell/Ansible.ModuleUtils.Legacy.psm1 +5 -2
- ansible/module_utils/powershell/Ansible.ModuleUtils.WebRequest.psm1 +1 -1
- ansible/module_utils/pycompat24.py +24 -4
- ansible/module_utils/service.py +31 -5
- ansible/module_utils/six/__init__.py +1 -1
- ansible/module_utils/splitter.py +1 -2
- ansible/module_utils/urls.py +335 -1052
- ansible/module_utils/yumdnf.py +13 -35
- ansible/modules/add_host.py +1 -2
- ansible/modules/apt.py +38 -22
- ansible/modules/apt_key.py +1 -2
- ansible/modules/apt_repository.py +18 -10
- ansible/modules/assemble.py +1 -2
- ansible/modules/assert.py +8 -4
- ansible/modules/async_status.py +17 -14
- ansible/modules/async_wrapper.py +11 -9
- ansible/modules/blockinfile.py +2 -3
- ansible/modules/command.py +1 -2
- ansible/modules/copy.py +4 -76
- ansible/modules/cron.py +3 -3
- ansible/modules/deb822_repository.py +5 -5
- ansible/modules/debconf.py +19 -8
- ansible/modules/debug.py +1 -2
- ansible/modules/dnf.py +39 -46
- ansible/modules/dnf5.py +28 -26
- ansible/modules/dpkg_selections.py +1 -2
- ansible/modules/expect.py +23 -15
- ansible/modules/fail.py +1 -2
- ansible/modules/fetch.py +1 -2
- ansible/modules/file.py +4 -3
- ansible/modules/find.py +18 -5
- ansible/modules/gather_facts.py +1 -2
- ansible/modules/get_url.py +2 -3
- ansible/modules/getent.py +2 -3
- ansible/modules/git.py +28 -17
- ansible/modules/group.py +1 -2
- ansible/modules/group_by.py +1 -2
- ansible/modules/hostname.py +2 -19
- ansible/modules/import_playbook.py +1 -2
- ansible/modules/import_role.py +9 -2
- ansible/modules/import_tasks.py +1 -2
- ansible/modules/include_role.py +1 -2
- ansible/modules/include_tasks.py +1 -2
- ansible/modules/include_vars.py +1 -2
- ansible/modules/iptables.py +38 -21
- ansible/modules/known_hosts.py +15 -8
- ansible/modules/lineinfile.py +1 -6
- ansible/modules/meta.py +3 -2
- ansible/modules/package.py +6 -5
- ansible/modules/package_facts.py +1 -2
- ansible/modules/pause.py +2 -3
- ansible/modules/ping.py +1 -2
- ansible/modules/pip.py +40 -20
- ansible/modules/raw.py +1 -2
- ansible/modules/reboot.py +1 -2
- ansible/modules/replace.py +7 -5
- ansible/modules/rpm_key.py +1 -2
- ansible/modules/script.py +1 -2
- ansible/modules/service.py +3 -21
- ansible/modules/service_facts.py +3 -12
- ansible/modules/set_fact.py +1 -2
- ansible/modules/set_stats.py +1 -2
- ansible/modules/setup.py +1 -2
- ansible/modules/shell.py +1 -2
- ansible/modules/slurp.py +1 -2
- ansible/modules/stat.py +1 -2
- ansible/modules/subversion.py +2 -3
- ansible/modules/systemd.py +12 -9
- ansible/modules/systemd_service.py +12 -9
- ansible/modules/sysvinit.py +7 -2
- ansible/modules/tempfile.py +7 -2
- ansible/modules/template.py +2 -3
- ansible/modules/unarchive.py +13 -3
- ansible/modules/uri.py +12 -15
- ansible/modules/user.py +11 -4
- ansible/modules/validate_argument_spec.py +15 -16
- ansible/modules/wait_for.py +1 -2
- ansible/modules/wait_for_connection.py +1 -2
- ansible/modules/yum_repository.py +2 -3
- ansible/parsing/__init__.py +1 -3
- ansible/parsing/ajson.py +1 -3
- ansible/parsing/dataloader.py +23 -12
- ansible/parsing/mod_args.py +6 -4
- ansible/parsing/plugin_docs.py +1 -2
- ansible/parsing/quoting.py +1 -3
- ansible/parsing/splitter.py +1 -3
- ansible/parsing/utils/__init__.py +1 -3
- ansible/parsing/utils/addresses.py +1 -3
- ansible/parsing/utils/jsonify.py +1 -3
- ansible/parsing/utils/yaml.py +1 -3
- ansible/parsing/vault/__init__.py +6 -8
- ansible/parsing/yaml/__init__.py +1 -3
- ansible/parsing/yaml/constructor.py +1 -3
- ansible/parsing/yaml/dumper.py +1 -3
- ansible/parsing/yaml/loader.py +1 -3
- ansible/parsing/yaml/objects.py +1 -3
- ansible/playbook/__init__.py +1 -3
- ansible/playbook/attribute.py +1 -3
- ansible/playbook/base.py +2 -3
- ansible/playbook/block.py +1 -3
- ansible/playbook/collectionsearch.py +1 -2
- ansible/playbook/conditional.py +1 -3
- ansible/playbook/delegatable.py +1 -0
- ansible/playbook/handler.py +2 -4
- ansible/playbook/handler_task_include.py +1 -3
- ansible/playbook/helpers.py +1 -4
- ansible/playbook/included_file.py +4 -4
- ansible/playbook/loop_control.py +1 -3
- ansible/playbook/notifiable.py +1 -0
- ansible/playbook/play.py +1 -3
- ansible/playbook/play_context.py +1 -3
- ansible/playbook/playbook_include.py +1 -3
- ansible/playbook/role/__init__.py +1 -3
- ansible/playbook/role/definition.py +1 -3
- ansible/playbook/role/include.py +1 -3
- ansible/playbook/role/metadata.py +1 -3
- ansible/playbook/role/requirement.py +1 -3
- ansible/playbook/role_include.py +2 -10
- ansible/playbook/taggable.py +1 -3
- ansible/playbook/task.py +2 -4
- ansible/playbook/task_include.py +1 -3
- ansible/plugins/__init__.py +4 -5
- ansible/plugins/action/__init__.py +19 -13
- ansible/plugins/action/add_host.py +2 -4
- ansible/plugins/action/assemble.py +2 -3
- ansible/plugins/action/assert.py +1 -2
- ansible/plugins/action/async_status.py +1 -2
- ansible/plugins/action/command.py +1 -2
- ansible/plugins/action/copy.py +12 -9
- ansible/plugins/action/debug.py +1 -2
- ansible/plugins/action/dnf.py +4 -4
- ansible/plugins/action/fail.py +1 -2
- ansible/plugins/action/fetch.py +2 -3
- ansible/plugins/action/gather_facts.py +3 -4
- ansible/plugins/action/group_by.py +1 -2
- ansible/plugins/action/include_vars.py +1 -2
- ansible/plugins/action/normal.py +1 -2
- ansible/plugins/action/package.py +36 -21
- ansible/plugins/action/pause.py +1 -2
- ansible/plugins/action/raw.py +2 -3
- ansible/plugins/action/reboot.py +30 -15
- ansible/plugins/action/script.py +3 -4
- ansible/plugins/action/service.py +1 -2
- ansible/plugins/action/set_fact.py +1 -2
- ansible/plugins/action/set_stats.py +1 -2
- ansible/plugins/action/shell.py +1 -2
- ansible/plugins/action/template.py +1 -2
- ansible/plugins/action/unarchive.py +1 -2
- ansible/plugins/action/uri.py +2 -3
- ansible/plugins/action/validate_argument_spec.py +1 -2
- ansible/plugins/action/wait_for_connection.py +2 -3
- ansible/plugins/become/__init__.py +1 -2
- ansible/plugins/become/runas.py +1 -2
- ansible/plugins/become/su.py +1 -2
- ansible/plugins/become/sudo.py +1 -2
- ansible/plugins/cache/__init__.py +3 -3
- ansible/plugins/cache/base.py +1 -2
- ansible/plugins/cache/jsonfile.py +1 -3
- ansible/plugins/cache/memory.py +1 -2
- ansible/plugins/callback/__init__.py +2 -4
- ansible/plugins/callback/default.py +2 -3
- ansible/plugins/callback/junit.py +1 -2
- ansible/plugins/callback/minimal.py +1 -3
- ansible/plugins/callback/oneline.py +1 -3
- ansible/plugins/callback/tree.py +1 -2
- ansible/plugins/cliconf/__init__.py +1 -2
- ansible/plugins/connection/__init__.py +4 -5
- ansible/plugins/connection/local.py +3 -4
- ansible/plugins/connection/paramiko_ssh.py +1 -2
- ansible/plugins/connection/psrp.py +1 -2
- ansible/plugins/connection/ssh.py +18 -54
- ansible/plugins/connection/winrm.py +3 -4
- ansible/plugins/doc_fragments/action_common_attributes.py +2 -3
- ansible/plugins/doc_fragments/action_core.py +3 -4
- ansible/plugins/doc_fragments/backup.py +1 -2
- ansible/plugins/doc_fragments/connection_pipelining.py +1 -2
- ansible/plugins/doc_fragments/constructed.py +1 -2
- ansible/plugins/doc_fragments/decrypt.py +2 -3
- ansible/plugins/doc_fragments/default_callback.py +1 -2
- ansible/plugins/doc_fragments/files.py +1 -2
- ansible/plugins/doc_fragments/inventory_cache.py +1 -2
- ansible/plugins/doc_fragments/result_format_callback.py +1 -2
- ansible/plugins/doc_fragments/return_common.py +1 -2
- ansible/plugins/doc_fragments/shell_common.py +1 -2
- ansible/plugins/doc_fragments/shell_windows.py +1 -2
- ansible/plugins/doc_fragments/template_common.py +1 -2
- ansible/plugins/doc_fragments/url.py +1 -2
- ansible/plugins/doc_fragments/url_windows.py +1 -2
- ansible/plugins/doc_fragments/validate.py +1 -2
- ansible/plugins/doc_fragments/vars_plugin_staging.py +1 -2
- ansible/plugins/filter/__init__.py +1 -2
- ansible/plugins/filter/b64decode.yml +8 -8
- ansible/plugins/filter/b64encode.yml +4 -4
- ansible/plugins/filter/comment.yml +1 -1
- ansible/plugins/filter/core.py +11 -9
- ansible/plugins/filter/encryption.py +1 -3
- ansible/plugins/filter/extract.yml +1 -1
- ansible/plugins/filter/from_yaml_all.yml +1 -1
- ansible/plugins/filter/human_readable.yml +3 -3
- ansible/plugins/filter/human_to_bytes.yml +2 -2
- ansible/plugins/filter/mandatory.yml +1 -1
- ansible/plugins/filter/mathstuff.py +2 -2
- ansible/plugins/filter/password_hash.yml +3 -2
- ansible/plugins/filter/regex_replace.yml +15 -0
- ansible/plugins/filter/regex_search.yml +12 -0
- ansible/plugins/filter/strftime.yml +2 -9
- ansible/plugins/filter/to_datetime.yml +17 -2
- ansible/plugins/filter/to_nice_json.yml +4 -0
- ansible/plugins/filter/union.yml +1 -1
- ansible/plugins/filter/urls.py +1 -2
- ansible/plugins/filter/urlsplit.py +1 -2
- ansible/plugins/filter/zip.yml +2 -2
- ansible/plugins/filter/zip_longest.yml +1 -1
- ansible/plugins/httpapi/__init__.py +1 -2
- ansible/plugins/inventory/__init__.py +2 -4
- ansible/plugins/inventory/advanced_host_list.py +1 -2
- ansible/plugins/inventory/auto.py +2 -3
- ansible/plugins/inventory/constructed.py +3 -2
- ansible/plugins/inventory/generator.py +1 -2
- ansible/plugins/inventory/host_list.py +1 -2
- ansible/plugins/inventory/ini.py +1 -2
- ansible/plugins/inventory/script.py +122 -3
- ansible/plugins/inventory/toml.py +1 -2
- ansible/plugins/inventory/yaml.py +3 -4
- ansible/plugins/list.py +2 -3
- ansible/plugins/loader.py +10 -11
- ansible/plugins/lookup/__init__.py +1 -3
- ansible/plugins/lookup/config.py +19 -15
- ansible/plugins/lookup/csvfile.py +16 -7
- ansible/plugins/lookup/dict.py +2 -3
- ansible/plugins/lookup/env.py +4 -4
- ansible/plugins/lookup/file.py +1 -2
- ansible/plugins/lookup/fileglob.py +1 -2
- ansible/plugins/lookup/first_found.py +8 -7
- ansible/plugins/lookup/indexed_items.py +1 -2
- ansible/plugins/lookup/ini.py +6 -3
- ansible/plugins/lookup/inventory_hostnames.py +1 -2
- ansible/plugins/lookup/items.py +1 -2
- ansible/plugins/lookup/lines.py +1 -2
- ansible/plugins/lookup/list.py +1 -3
- ansible/plugins/lookup/nested.py +1 -2
- ansible/plugins/lookup/password.py +16 -14
- ansible/plugins/lookup/pipe.py +1 -2
- ansible/plugins/lookup/random_choice.py +1 -2
- ansible/plugins/lookup/sequence.py +21 -52
- ansible/plugins/lookup/subelements.py +1 -2
- ansible/plugins/lookup/template.py +1 -2
- ansible/plugins/lookup/together.py +1 -2
- ansible/plugins/lookup/unvault.py +1 -2
- ansible/plugins/lookup/url.py +9 -11
- ansible/plugins/lookup/varnames.py +1 -2
- ansible/plugins/lookup/vars.py +1 -2
- ansible/plugins/netconf/__init__.py +1 -2
- ansible/plugins/shell/__init__.py +3 -4
- ansible/plugins/shell/cmd.py +1 -2
- ansible/plugins/shell/powershell.py +1 -2
- ansible/plugins/shell/sh.py +1 -2
- ansible/plugins/strategy/__init__.py +33 -21
- ansible/plugins/strategy/debug.py +1 -2
- ansible/plugins/strategy/free.py +17 -7
- ansible/plugins/strategy/host_pinned.py +1 -3
- ansible/plugins/strategy/linear.py +22 -22
- ansible/plugins/terminal/__init__.py +2 -3
- ansible/plugins/test/__init__.py +1 -2
- ansible/plugins/test/change.yml +1 -1
- ansible/plugins/test/changed.yml +1 -1
- ansible/plugins/test/contains.yml +1 -1
- ansible/plugins/test/core.py +2 -4
- ansible/plugins/test/exists.yml +1 -1
- ansible/plugins/test/failed.yml +1 -1
- ansible/plugins/test/failure.yml +1 -1
- ansible/plugins/test/files.py +1 -3
- ansible/plugins/test/finished.yml +3 -3
- ansible/plugins/test/issuperset.yml +1 -1
- ansible/plugins/test/match.yml +1 -1
- ansible/plugins/test/mathstuff.py +1 -2
- ansible/plugins/test/reachable.yml +1 -1
- ansible/plugins/test/regex.yml +1 -1
- ansible/plugins/test/search.yml +1 -1
- ansible/plugins/test/skip.yml +1 -1
- ansible/plugins/test/skipped.yml +1 -1
- ansible/plugins/test/started.yml +1 -1
- ansible/plugins/test/succeeded.yml +1 -1
- ansible/plugins/test/success.yml +1 -1
- ansible/plugins/test/successful.yml +1 -1
- ansible/plugins/test/superset.yml +1 -1
- ansible/plugins/test/unreachable.yml +1 -1
- ansible/plugins/test/uri.py +1 -3
- ansible/plugins/vars/__init__.py +1 -2
- ansible/plugins/vars/host_group_vars.py +2 -3
- ansible/release.py +3 -5
- ansible/template/__init__.py +14 -27
- ansible/template/native_helpers.py +1 -3
- ansible/template/template.py +1 -3
- ansible/template/vars.py +1 -0
- ansible/utils/__init__.py +1 -3
- ansible/utils/cmd_functions.py +1 -2
- ansible/utils/collection_loader/__init__.py +1 -2
- ansible/utils/collection_loader/_collection_config.py +1 -2
- ansible/utils/collection_loader/_collection_finder.py +1 -2
- ansible/utils/collection_loader/_collection_meta.py +1 -2
- ansible/utils/color.py +1 -2
- ansible/utils/context_objects.py +1 -4
- ansible/utils/display.py +89 -30
- ansible/utils/encrypt.py +4 -105
- ansible/utils/fqcn.py +1 -2
- ansible/utils/galaxy.py +1 -3
- ansible/utils/hashing.py +1 -3
- ansible/utils/helpers.py +1 -3
- ansible/utils/jsonrpc.py +1 -2
- ansible/utils/listify.py +1 -3
- ansible/utils/lock.py +1 -3
- ansible/utils/multiprocessing.py +1 -3
- ansible/utils/native_jinja.py +1 -3
- ansible/utils/path.py +1 -2
- ansible/utils/plugin_docs.py +7 -6
- ansible/utils/py3compat.py +17 -55
- ansible/utils/sentinel.py +1 -3
- ansible/utils/shlex.py +1 -3
- ansible/utils/singleton.py +1 -3
- ansible/utils/ssh_functions.py +1 -3
- ansible/utils/unicode.py +1 -3
- ansible/utils/unsafe_proxy.py +1 -2
- ansible/utils/vars.py +6 -8
- ansible/utils/version.py +1 -3
- ansible/vars/clean.py +1 -3
- ansible/vars/fact_cache.py +1 -2
- ansible/vars/hostvars.py +3 -7
- ansible/vars/manager.py +24 -6
- ansible/vars/reserved.py +1 -3
- {ansible_core-2.16.7rc1.data → ansible_core-2.17.0.data}/scripts/ansible-test +1 -2
- {ansible_core-2.16.7rc1.dist-info → ansible_core-2.17.0.dist-info}/METADATA +3 -3
- ansible_core-2.17.0.dist-info/RECORD +987 -0
- ansible_test/__init__.py +1 -2
- ansible_test/_data/completion/docker.txt +7 -9
- ansible_test/_data/completion/remote.txt +6 -7
- ansible_test/_data/requirements/ansible-test.txt +0 -2
- ansible_test/_data/requirements/constraints.txt +1 -6
- ansible_test/_data/requirements/sanity.ansible-doc.txt +3 -3
- ansible_test/_data/requirements/sanity.changelog.txt +3 -3
- ansible_test/_data/requirements/sanity.import.plugin.txt +2 -2
- ansible_test/_data/requirements/sanity.mypy.txt +12 -12
- ansible_test/_data/requirements/sanity.pep8.txt +1 -1
- ansible_test/_data/requirements/sanity.pylint.txt +7 -7
- ansible_test/_data/requirements/sanity.runtime-metadata.txt +1 -1
- ansible_test/_data/requirements/sanity.validate-modules.txt +3 -3
- ansible_test/_data/requirements/sanity.yamllint.txt +2 -2
- ansible_test/_internal/bootstrap.py +2 -2
- ansible_test/_internal/classification/__init__.py +0 -5
- ansible_test/_internal/commands/integration/cloud/cs.py +1 -1
- ansible_test/_internal/commands/integration/cloud/nios.py +1 -1
- ansible_test/_internal/commands/sanity/__init__.py +1 -27
- ansible_test/_internal/commands/sanity/import.py +0 -18
- ansible_test/_internal/commands/sanity/mypy.py +7 -10
- ansible_test/_internal/commands/units/__init__.py +1 -1
- ansible_test/_internal/config.py +0 -1
- ansible_test/_internal/content_config.py +0 -5
- ansible_test/_internal/coverage_util.py +0 -1
- ansible_test/_internal/docker_util.py +1 -1
- ansible_test/_internal/host_profiles.py +5 -4
- ansible_test/_internal/pypi_proxy.py +1 -8
- ansible_test/_internal/python_requirements.py +1 -119
- ansible_test/_internal/ssh.py +1 -0
- ansible_test/_internal/util.py +1 -1
- ansible_test/_internal/util_common.py +1 -1
- ansible_test/_internal/venv.py +10 -108
- ansible_test/_util/__init__.py +1 -2
- ansible_test/_util/controller/sanity/mypy/ansible-core.ini +0 -6
- ansible_test/_util/controller/sanity/mypy/modules.ini +0 -6
- ansible_test/_util/controller/sanity/pylint/config/ansible-test-target.cfg +0 -1
- ansible_test/_util/controller/sanity/pylint/config/ansible-test.cfg +0 -1
- ansible_test/_util/controller/sanity/pylint/config/code-smell.cfg +0 -1
- ansible_test/_util/controller/sanity/pylint/config/collection.cfg +0 -1
- ansible_test/_util/controller/sanity/pylint/config/default.cfg +0 -1
- ansible_test/_util/controller/sanity/pylint/plugins/deprecated.py +1 -2
- ansible_test/_util/controller/sanity/shellcheck/exclude.txt +0 -1
- ansible_test/_util/controller/sanity/validate-modules/validate_modules/main.py +31 -59
- ansible_test/_util/controller/sanity/validate-modules/validate_modules/module_args.py +0 -7
- ansible_test/_util/controller/sanity/validate-modules/validate_modules/schema.py +10 -2
- ansible_test/_util/controller/sanity/validate-modules/validate_modules/utils.py +1 -1
- ansible_test/_util/controller/sanity/yamllint/yamllinter.py +16 -4
- ansible_test/_util/target/__init__.py +1 -2
- ansible_test/_util/target/cli/ansible_test_cli_stub.py +1 -2
- ansible_test/_util/target/common/constants.py +1 -4
- ansible_test/_util/target/injector/python.py +4 -19
- ansible_test/_util/target/pytest/plugins/ansible_forked.py +2 -9
- ansible_test/_util/target/pytest/plugins/ansible_pytest_collections.py +1 -5
- ansible_test/_util/target/pytest/plugins/ansible_pytest_coverage.py +1 -2
- ansible_test/_util/target/sanity/compile/compile.py +3 -12
- ansible_test/_util/target/sanity/import/importer.py +1 -12
- ansible_test/_util/target/setup/bootstrap.sh +49 -105
- ansible_test/_util/target/setup/probe_cgroups.py +1 -2
- ansible_test/_util/target/setup/quiet_pip.py +1 -16
- ansible_test/_util/target/setup/requirements.py +9 -2
- ansible_test/_util/target/tools/virtualenvcheck.py +1 -2
- ansible_test/_util/target/tools/yamlcheck.py +1 -2
- ansible/module_utils/common/_json_compat.py +0 -16
- ansible/module_utils/compat/_selectors2.py +0 -655
- ansible/modules/yum.py +0 -1821
- ansible/plugins/action/yum.py +0 -111
- ansible_core-2.16.7rc1.dist-info/RECORD +0 -1009
- ansible_test/_util/controller/sanity/code-smell/future-import-boilerplate.json +0 -7
- ansible_test/_util/controller/sanity/code-smell/future-import-boilerplate.py +0 -46
- ansible_test/_util/controller/sanity/code-smell/metaclass-boilerplate.json +0 -7
- ansible_test/_util/controller/sanity/code-smell/metaclass-boilerplate.py +0 -44
- ansible_test/_util/controller/sanity/code-smell/no-basestring.json +0 -7
- ansible_test/_util/controller/sanity/code-smell/no-basestring.py +0 -21
- ansible_test/_util/controller/sanity/code-smell/no-dict-iteritems.json +0 -7
- ansible_test/_util/controller/sanity/code-smell/no-dict-iteritems.py +0 -21
- ansible_test/_util/controller/sanity/code-smell/no-dict-iterkeys.json +0 -7
- ansible_test/_util/controller/sanity/code-smell/no-dict-iterkeys.py +0 -21
- ansible_test/_util/controller/sanity/code-smell/no-dict-itervalues.json +0 -7
- ansible_test/_util/controller/sanity/code-smell/no-dict-itervalues.py +0 -21
- ansible_test/_util/controller/sanity/code-smell/no-main-display.json +0 -10
- ansible_test/_util/controller/sanity/code-smell/no-main-display.py +0 -21
- ansible_test/_util/controller/sanity/code-smell/no-unicode-literals.json +0 -7
- ansible_test/_util/controller/sanity/code-smell/no-unicode-literals.py +0 -21
- ansible_test/_util/controller/tools/sslcheck.py +0 -22
- ansible_test/_util/target/common/__init__.py +0 -2
- {ansible_core-2.16.7rc1.dist-info → ansible_core-2.17.0.dist-info}/COPYING +0 -0
- {ansible_core-2.16.7rc1.dist-info → ansible_core-2.17.0.dist-info}/WHEEL +0 -0
- {ansible_core-2.16.7rc1.dist-info → ansible_core-2.17.0.dist-info}/entry_points.txt +0 -0
- {ansible_core-2.16.7rc1.dist-info → ansible_core-2.17.0.dist-info}/top_level.txt +0 -0
ansible/config/base.yml
CHANGED
|
@@ -28,14 +28,14 @@ ANSIBLE_CONNECTION_PATH:
|
|
|
28
28
|
ANSIBLE_COW_SELECTION:
|
|
29
29
|
name: Cowsay filter selection
|
|
30
30
|
default: default
|
|
31
|
-
description: This allows you to
|
|
31
|
+
description: This allows you to choose a specific cowsay stencil for the banners or use 'random' to cycle through them.
|
|
32
32
|
env: [{name: ANSIBLE_COW_SELECTION}]
|
|
33
33
|
ini:
|
|
34
34
|
- {key: cow_selection, section: defaults}
|
|
35
35
|
ANSIBLE_COW_ACCEPTLIST:
|
|
36
36
|
name: Cowsay filter acceptance list
|
|
37
37
|
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']
|
|
38
|
-
description: Accept list of cowsay templates that are 'safe' to use, set to empty list if you want to enable all installed templates.
|
|
38
|
+
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.
|
|
39
39
|
env:
|
|
40
40
|
- name: ANSIBLE_COW_ACCEPTLIST
|
|
41
41
|
version_added: '2.11'
|
|
@@ -78,7 +78,7 @@ ANSIBLE_NOCOWS:
|
|
|
78
78
|
ANSIBLE_COW_PATH:
|
|
79
79
|
name: Set path to cowsay command
|
|
80
80
|
default: null
|
|
81
|
-
description: Specify a custom cowsay path or swap in your cowsay implementation of choice
|
|
81
|
+
description: Specify a custom cowsay path or swap in your cowsay implementation of choice.
|
|
82
82
|
env: [{name: ANSIBLE_COW_PATH}]
|
|
83
83
|
ini:
|
|
84
84
|
- {key: cowpath, section: defaults}
|
|
@@ -119,8 +119,9 @@ BECOME_ALLOW_SAME_USER:
|
|
|
119
119
|
name: Allow becoming the same user
|
|
120
120
|
default: False
|
|
121
121
|
description:
|
|
122
|
-
-
|
|
123
|
-
|
|
122
|
+
- 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.
|
|
123
|
+
In other words root sudo to root.
|
|
124
|
+
- If ``True``, this forces Ansible to use the become plugin anyways as there are cases in which this is needed.
|
|
124
125
|
env: [{name: ANSIBLE_BECOME_ALLOW_SAME_USER}]
|
|
125
126
|
ini:
|
|
126
127
|
- {key: become_allow_same_user, section: privilege_escalation}
|
|
@@ -130,7 +131,7 @@ BECOME_PASSWORD_FILE:
|
|
|
130
131
|
name: Become password file
|
|
131
132
|
default: ~
|
|
132
133
|
description:
|
|
133
|
-
- 'The password file to use for the become plugin.
|
|
134
|
+
- 'The password file to use for the become plugin. ``--become-password-file``.'
|
|
134
135
|
- If executable, it will be run and the resulting stdout will be used as the password.
|
|
135
136
|
env: [{name: ANSIBLE_BECOME_PASSWORD_FILE}]
|
|
136
137
|
ini:
|
|
@@ -141,7 +142,7 @@ AGNOSTIC_BECOME_PROMPT:
|
|
|
141
142
|
name: Display an agnostic become prompt
|
|
142
143
|
default: True
|
|
143
144
|
type: boolean
|
|
144
|
-
description: Display an agnostic become prompt instead of displaying a prompt containing the command line supplied become method
|
|
145
|
+
description: Display an agnostic become prompt instead of displaying a prompt containing the command line supplied become method.
|
|
145
146
|
env: [{name: ANSIBLE_AGNOSTIC_BECOME_PROMPT}]
|
|
146
147
|
ini:
|
|
147
148
|
- {key: agnostic_become_prompt, section: privilege_escalation}
|
|
@@ -158,7 +159,7 @@ CACHE_PLUGIN:
|
|
|
158
159
|
CACHE_PLUGIN_CONNECTION:
|
|
159
160
|
name: Cache Plugin URI
|
|
160
161
|
default: ~
|
|
161
|
-
description: Defines connection or path information for the cache plugin
|
|
162
|
+
description: Defines connection or path information for the cache plugin.
|
|
162
163
|
env: [{name: ANSIBLE_CACHE_PLUGIN_CONNECTION}]
|
|
163
164
|
ini:
|
|
164
165
|
- {key: fact_caching_connection, section: defaults}
|
|
@@ -166,7 +167,7 @@ CACHE_PLUGIN_CONNECTION:
|
|
|
166
167
|
CACHE_PLUGIN_PREFIX:
|
|
167
168
|
name: Cache Plugin table prefix
|
|
168
169
|
default: ansible_facts
|
|
169
|
-
description: Prefix to use for cache plugin files/tables
|
|
170
|
+
description: Prefix to use for cache plugin files/tables.
|
|
170
171
|
env: [{name: ANSIBLE_CACHE_PLUGIN_PREFIX}]
|
|
171
172
|
ini:
|
|
172
173
|
- {key: fact_caching_prefix, section: defaults}
|
|
@@ -174,7 +175,7 @@ CACHE_PLUGIN_PREFIX:
|
|
|
174
175
|
CACHE_PLUGIN_TIMEOUT:
|
|
175
176
|
name: Cache Plugin expiration timeout
|
|
176
177
|
default: 86400
|
|
177
|
-
description: Expiration timeout for the cache plugin data
|
|
178
|
+
description: Expiration timeout for the cache plugin data.
|
|
178
179
|
env: [{name: ANSIBLE_CACHE_PLUGIN_TIMEOUT}]
|
|
179
180
|
ini:
|
|
180
181
|
- {key: fact_caching_timeout, section: defaults}
|
|
@@ -182,7 +183,7 @@ CACHE_PLUGIN_TIMEOUT:
|
|
|
182
183
|
yaml: {key: facts.cache.timeout}
|
|
183
184
|
COLLECTIONS_SCAN_SYS_PATH:
|
|
184
185
|
name: Scan PYTHONPATH for installed collections
|
|
185
|
-
description: A boolean to enable or disable scanning the sys.path for installed collections
|
|
186
|
+
description: A boolean to enable or disable scanning the sys.path for installed collections.
|
|
186
187
|
default: true
|
|
187
188
|
type: boolean
|
|
188
189
|
env:
|
|
@@ -190,9 +191,9 @@ COLLECTIONS_SCAN_SYS_PATH:
|
|
|
190
191
|
ini:
|
|
191
192
|
- {key: collections_scan_sys_path, section: defaults}
|
|
192
193
|
COLLECTIONS_PATHS:
|
|
193
|
-
name: ordered list of root paths for loading installed Ansible collections content
|
|
194
|
+
name: An ordered list of root paths for loading installed Ansible collections content.
|
|
194
195
|
description: >
|
|
195
|
-
Colon
|
|
196
|
+
Colon-separated paths in which Ansible will search for collections content.
|
|
196
197
|
Collections must be in nested *subdirectories*, not directly in these directories.
|
|
197
198
|
For example, if ``COLLECTIONS_PATHS`` includes ``'{{ ANSIBLE_HOME ~ "/collections" }}'``,
|
|
198
199
|
and you want to add ``my.collection`` to that directory, it must be saved as
|
|
@@ -229,14 +230,14 @@ COLLECTIONS_ON_ANSIBLE_VERSION_MISMATCH:
|
|
|
229
230
|
COLOR_CHANGED:
|
|
230
231
|
name: Color for 'changed' task status
|
|
231
232
|
default: yellow
|
|
232
|
-
description: Defines the color to use on 'Changed' task status
|
|
233
|
+
description: Defines the color to use on 'Changed' task status.
|
|
233
234
|
env: [{name: ANSIBLE_COLOR_CHANGED}]
|
|
234
235
|
ini:
|
|
235
236
|
- {key: changed, section: colors}
|
|
236
237
|
COLOR_CONSOLE_PROMPT:
|
|
237
238
|
name: "Color for ansible-console's prompt task status"
|
|
238
239
|
default: white
|
|
239
|
-
description: Defines the default color to use for ansible-console
|
|
240
|
+
description: Defines the default color to use for ansible-console.
|
|
240
241
|
env: [{name: ANSIBLE_COLOR_CONSOLE_PROMPT}]
|
|
241
242
|
ini:
|
|
242
243
|
- {key: console_prompt, section: colors}
|
|
@@ -244,21 +245,21 @@ COLOR_CONSOLE_PROMPT:
|
|
|
244
245
|
COLOR_DEBUG:
|
|
245
246
|
name: Color for debug statements
|
|
246
247
|
default: dark gray
|
|
247
|
-
description: Defines the color to use when emitting debug messages
|
|
248
|
+
description: Defines the color to use when emitting debug messages.
|
|
248
249
|
env: [{name: ANSIBLE_COLOR_DEBUG}]
|
|
249
250
|
ini:
|
|
250
251
|
- {key: debug, section: colors}
|
|
251
252
|
COLOR_DEPRECATE:
|
|
252
253
|
name: Color for deprecation messages
|
|
253
254
|
default: purple
|
|
254
|
-
description: Defines the color to use when emitting deprecation messages
|
|
255
|
+
description: Defines the color to use when emitting deprecation messages.
|
|
255
256
|
env: [{name: ANSIBLE_COLOR_DEPRECATE}]
|
|
256
257
|
ini:
|
|
257
258
|
- {key: deprecate, section: colors}
|
|
258
259
|
COLOR_DIFF_ADD:
|
|
259
260
|
name: Color for diff added display
|
|
260
261
|
default: green
|
|
261
|
-
description: Defines the color to use when showing added lines in diffs
|
|
262
|
+
description: Defines the color to use when showing added lines in diffs.
|
|
262
263
|
env: [{name: ANSIBLE_COLOR_DIFF_ADD}]
|
|
263
264
|
ini:
|
|
264
265
|
- {key: diff_add, section: colors}
|
|
@@ -266,21 +267,21 @@ COLOR_DIFF_ADD:
|
|
|
266
267
|
COLOR_DIFF_LINES:
|
|
267
268
|
name: Color for diff lines display
|
|
268
269
|
default: cyan
|
|
269
|
-
description: Defines the color to use when showing diffs
|
|
270
|
+
description: Defines the color to use when showing diffs.
|
|
270
271
|
env: [{name: ANSIBLE_COLOR_DIFF_LINES}]
|
|
271
272
|
ini:
|
|
272
273
|
- {key: diff_lines, section: colors}
|
|
273
274
|
COLOR_DIFF_REMOVE:
|
|
274
275
|
name: Color for diff removed display
|
|
275
276
|
default: red
|
|
276
|
-
description: Defines the color to use when showing removed lines in diffs
|
|
277
|
+
description: Defines the color to use when showing removed lines in diffs.
|
|
277
278
|
env: [{name: ANSIBLE_COLOR_DIFF_REMOVE}]
|
|
278
279
|
ini:
|
|
279
280
|
- {key: diff_remove, section: colors}
|
|
280
281
|
COLOR_ERROR:
|
|
281
282
|
name: Color for error messages
|
|
282
283
|
default: red
|
|
283
|
-
description: Defines the color to use when emitting error messages
|
|
284
|
+
description: Defines the color to use when emitting error messages.
|
|
284
285
|
env: [{name: ANSIBLE_COLOR_ERROR}]
|
|
285
286
|
ini:
|
|
286
287
|
- {key: error, section: colors}
|
|
@@ -288,49 +289,49 @@ COLOR_ERROR:
|
|
|
288
289
|
COLOR_HIGHLIGHT:
|
|
289
290
|
name: Color for highlighting
|
|
290
291
|
default: white
|
|
291
|
-
description: Defines the color to use for highlighting
|
|
292
|
+
description: Defines the color to use for highlighting.
|
|
292
293
|
env: [{name: ANSIBLE_COLOR_HIGHLIGHT}]
|
|
293
294
|
ini:
|
|
294
295
|
- {key: highlight, section: colors}
|
|
295
296
|
COLOR_OK:
|
|
296
297
|
name: Color for 'ok' task status
|
|
297
298
|
default: green
|
|
298
|
-
description: Defines the color to use when showing 'OK' task status
|
|
299
|
+
description: Defines the color to use when showing 'OK' task status.
|
|
299
300
|
env: [{name: ANSIBLE_COLOR_OK}]
|
|
300
301
|
ini:
|
|
301
302
|
- {key: ok, section: colors}
|
|
302
303
|
COLOR_SKIP:
|
|
303
304
|
name: Color for 'skip' task status
|
|
304
305
|
default: cyan
|
|
305
|
-
description: Defines the color to use when showing 'Skipped' task status
|
|
306
|
+
description: Defines the color to use when showing 'Skipped' task status.
|
|
306
307
|
env: [{name: ANSIBLE_COLOR_SKIP}]
|
|
307
308
|
ini:
|
|
308
309
|
- {key: skip, section: colors}
|
|
309
310
|
COLOR_UNREACHABLE:
|
|
310
311
|
name: Color for 'unreachable' host state
|
|
311
312
|
default: bright red
|
|
312
|
-
description: Defines the color to use on 'Unreachable' status
|
|
313
|
+
description: Defines the color to use on 'Unreachable' status.
|
|
313
314
|
env: [{name: ANSIBLE_COLOR_UNREACHABLE}]
|
|
314
315
|
ini:
|
|
315
316
|
- {key: unreachable, section: colors}
|
|
316
317
|
COLOR_VERBOSE:
|
|
317
318
|
name: Color for verbose messages
|
|
318
319
|
default: blue
|
|
319
|
-
description: Defines the color to use when emitting verbose messages.
|
|
320
|
+
description: Defines the color to use when emitting verbose messages. In other words, those that show with '-v's.
|
|
320
321
|
env: [{name: ANSIBLE_COLOR_VERBOSE}]
|
|
321
322
|
ini:
|
|
322
323
|
- {key: verbose, section: colors}
|
|
323
324
|
COLOR_WARN:
|
|
324
325
|
name: Color for warning messages
|
|
325
326
|
default: bright purple
|
|
326
|
-
description: Defines the color to use when emitting warning messages
|
|
327
|
+
description: Defines the color to use when emitting warning messages.
|
|
327
328
|
env: [{name: ANSIBLE_COLOR_WARN}]
|
|
328
329
|
ini:
|
|
329
330
|
- {key: warn, section: colors}
|
|
330
331
|
CONNECTION_PASSWORD_FILE:
|
|
331
332
|
name: Connection password file
|
|
332
333
|
default: ~
|
|
333
|
-
description: 'The password file to use for the connection plugin.
|
|
334
|
+
description: 'The password file to use for the connection plugin. ``--connection-password-file``.'
|
|
334
335
|
env: [{name: ANSIBLE_CONNECTION_PASSWORD_FILE}]
|
|
335
336
|
ini:
|
|
336
337
|
- {key: connection_password_file, section: defaults}
|
|
@@ -339,7 +340,7 @@ CONNECTION_PASSWORD_FILE:
|
|
|
339
340
|
COVERAGE_REMOTE_OUTPUT:
|
|
340
341
|
name: Sets the output directory and filename prefix to generate coverage run info.
|
|
341
342
|
description:
|
|
342
|
-
- Sets the output directory on the remote host to generate coverage reports
|
|
343
|
+
- Sets the output directory on the remote host to generate coverage reports into.
|
|
343
344
|
- Currently only used for remote coverage on PowerShell modules.
|
|
344
345
|
- This is for internal use only.
|
|
345
346
|
env:
|
|
@@ -352,7 +353,7 @@ COVERAGE_REMOTE_PATHS:
|
|
|
352
353
|
name: Sets the list of paths to run coverage for.
|
|
353
354
|
description:
|
|
354
355
|
- A list of paths for files on the Ansible controller to run coverage for when executing on the remote host.
|
|
355
|
-
- Only files that match the path glob will have
|
|
356
|
+
- Only files that match the path glob will have their coverage collected.
|
|
356
357
|
- Multiple path globs can be specified and are separated by ``:``.
|
|
357
358
|
- Currently only used for remote coverage on PowerShell modules.
|
|
358
359
|
- This is for internal use only.
|
|
@@ -365,7 +366,7 @@ ACTION_WARNINGS:
|
|
|
365
366
|
name: Toggle action warnings
|
|
366
367
|
default: True
|
|
367
368
|
description:
|
|
368
|
-
- By default Ansible will issue a warning when received from a task action (module or action plugin)
|
|
369
|
+
- By default, Ansible will issue a warning when received from a task action (module or action plugin).
|
|
369
370
|
- These warnings can be silenced by adjusting this setting to False.
|
|
370
371
|
env: [{name: ANSIBLE_ACTION_WARNINGS}]
|
|
371
372
|
ini:
|
|
@@ -376,7 +377,7 @@ LOCALHOST_WARNING:
|
|
|
376
377
|
name: Warning when using implicit inventory with only localhost
|
|
377
378
|
default: True
|
|
378
379
|
description:
|
|
379
|
-
- By default Ansible will issue a warning when there are no hosts in the
|
|
380
|
+
- By default, Ansible will issue a warning when there are no hosts in the
|
|
380
381
|
inventory.
|
|
381
382
|
- These warnings can be silenced by adjusting this setting to False.
|
|
382
383
|
env: [{name: ANSIBLE_LOCALHOST_WARNING}]
|
|
@@ -384,11 +385,20 @@ LOCALHOST_WARNING:
|
|
|
384
385
|
- {key: localhost_warning, section: defaults}
|
|
385
386
|
type: boolean
|
|
386
387
|
version_added: "2.6"
|
|
388
|
+
LOG_VERBOSITY:
|
|
389
|
+
name: Default log verbosity
|
|
390
|
+
description:
|
|
391
|
+
- This will set log verbosity if higher than the normal display verbosity, otherwise it will match that.
|
|
392
|
+
env: [{name: ANSIBLE_LOG_VERBOSITY}]
|
|
393
|
+
ini:
|
|
394
|
+
- {key: log_verbosity, section: defaults}
|
|
395
|
+
type: int
|
|
396
|
+
version_added: "2.17"
|
|
387
397
|
INVENTORY_UNPARSED_WARNING:
|
|
388
398
|
name: Warning when no inventory files can be parsed, resulting in an implicit inventory with only localhost
|
|
389
399
|
default: True
|
|
390
400
|
description:
|
|
391
|
-
- By default Ansible will issue a warning when no inventory was loaded and notes that
|
|
401
|
+
- By default, Ansible will issue a warning when no inventory was loaded and notes that
|
|
392
402
|
it will use an implicit localhost-only inventory.
|
|
393
403
|
- These warnings can be silenced by adjusting this setting to False.
|
|
394
404
|
env: [{name: ANSIBLE_INVENTORY_UNPARSED_WARNING}]
|
|
@@ -399,7 +409,7 @@ INVENTORY_UNPARSED_WARNING:
|
|
|
399
409
|
DOC_FRAGMENT_PLUGIN_PATH:
|
|
400
410
|
name: documentation fragment plugins path
|
|
401
411
|
default: '{{ ANSIBLE_HOME ~ "/plugins/doc_fragments:/usr/share/ansible/plugins/doc_fragments" }}'
|
|
402
|
-
description: Colon
|
|
412
|
+
description: Colon-separated paths in which Ansible will search for Documentation Fragments Plugins.
|
|
403
413
|
env: [{name: ANSIBLE_DOC_FRAGMENT_PLUGINS}]
|
|
404
414
|
ini:
|
|
405
415
|
- {key: doc_fragment_plugins, section: defaults}
|
|
@@ -407,7 +417,7 @@ DOC_FRAGMENT_PLUGIN_PATH:
|
|
|
407
417
|
DEFAULT_ACTION_PLUGIN_PATH:
|
|
408
418
|
name: Action plugins path
|
|
409
419
|
default: '{{ ANSIBLE_HOME ~ "/plugins/action:/usr/share/ansible/plugins/action" }}'
|
|
410
|
-
description: Colon
|
|
420
|
+
description: Colon-separated paths in which Ansible will search for Action Plugins.
|
|
411
421
|
env: [{name: ANSIBLE_ACTION_PLUGINS}]
|
|
412
422
|
ini:
|
|
413
423
|
- {key: action_plugins, section: defaults}
|
|
@@ -421,8 +431,8 @@ DEFAULT_ALLOW_UNSAFE_LOOKUPS:
|
|
|
421
431
|
to return data that is not marked 'unsafe'."
|
|
422
432
|
- By default, such data is marked as unsafe to prevent the templating engine from evaluating any jinja2 templating language,
|
|
423
433
|
as this could represent a security risk. This option is provided to allow for backward compatibility,
|
|
424
|
-
however users should first consider adding allow_unsafe=True to any lookups
|
|
425
|
-
through the templating engine late
|
|
434
|
+
however, users should first consider adding allow_unsafe=True to any lookups that may be expected to contain data that may be run
|
|
435
|
+
through the templating engine late.
|
|
426
436
|
env: []
|
|
427
437
|
ini:
|
|
428
438
|
- {key: allow_unsafe_lookups, section: defaults}
|
|
@@ -474,7 +484,7 @@ DEFAULT_BECOME_METHOD:
|
|
|
474
484
|
DEFAULT_BECOME_EXE:
|
|
475
485
|
name: Choose 'become' executable
|
|
476
486
|
default: ~
|
|
477
|
-
description: 'executable to use for privilege escalation, otherwise Ansible will depend on PATH'
|
|
487
|
+
description: 'executable to use for privilege escalation, otherwise Ansible will depend on PATH.'
|
|
478
488
|
env: [{name: ANSIBLE_BECOME_EXE}]
|
|
479
489
|
ini:
|
|
480
490
|
- {key: become_exe, section: privilege_escalation}
|
|
@@ -488,7 +498,7 @@ DEFAULT_BECOME_FLAGS:
|
|
|
488
498
|
BECOME_PLUGIN_PATH:
|
|
489
499
|
name: Become plugins path
|
|
490
500
|
default: '{{ ANSIBLE_HOME ~ "/plugins/become:/usr/share/ansible/plugins/become" }}'
|
|
491
|
-
description: Colon
|
|
501
|
+
description: Colon-separated paths in which Ansible will search for Become Plugins.
|
|
492
502
|
env: [{name: ANSIBLE_BECOME_PLUGINS}]
|
|
493
503
|
ini:
|
|
494
504
|
- {key: become_plugins, section: defaults}
|
|
@@ -506,7 +516,7 @@ DEFAULT_BECOME_USER:
|
|
|
506
516
|
DEFAULT_CACHE_PLUGIN_PATH:
|
|
507
517
|
name: Cache Plugins Path
|
|
508
518
|
default: '{{ ANSIBLE_HOME ~ "/plugins/cache:/usr/share/ansible/plugins/cache" }}'
|
|
509
|
-
description: Colon
|
|
519
|
+
description: Colon-separated paths in which Ansible will search for Cache Plugins.
|
|
510
520
|
env: [{name: ANSIBLE_CACHE_PLUGINS}]
|
|
511
521
|
ini:
|
|
512
522
|
- {key: cache_plugins, section: defaults}
|
|
@@ -514,7 +524,7 @@ DEFAULT_CACHE_PLUGIN_PATH:
|
|
|
514
524
|
DEFAULT_CALLBACK_PLUGIN_PATH:
|
|
515
525
|
name: Callback Plugins Path
|
|
516
526
|
default: '{{ ANSIBLE_HOME ~ "/plugins/callback:/usr/share/ansible/plugins/callback" }}'
|
|
517
|
-
description: Colon
|
|
527
|
+
description: Colon-separated paths in which Ansible will search for Callback Plugins.
|
|
518
528
|
env: [{name: ANSIBLE_CALLBACK_PLUGINS}]
|
|
519
529
|
ini:
|
|
520
530
|
- {key: callback_plugins, section: defaults}
|
|
@@ -537,7 +547,7 @@ CALLBACKS_ENABLED:
|
|
|
537
547
|
DEFAULT_CLICONF_PLUGIN_PATH:
|
|
538
548
|
name: Cliconf Plugins Path
|
|
539
549
|
default: '{{ ANSIBLE_HOME ~ "/plugins/cliconf:/usr/share/ansible/plugins/cliconf" }}'
|
|
540
|
-
description: Colon
|
|
550
|
+
description: Colon-separated paths in which Ansible will search for Cliconf Plugins.
|
|
541
551
|
env: [{name: ANSIBLE_CLICONF_PLUGINS}]
|
|
542
552
|
ini:
|
|
543
553
|
- {key: cliconf_plugins, section: defaults}
|
|
@@ -545,7 +555,7 @@ DEFAULT_CLICONF_PLUGIN_PATH:
|
|
|
545
555
|
DEFAULT_CONNECTION_PLUGIN_PATH:
|
|
546
556
|
name: Connection Plugins Path
|
|
547
557
|
default: '{{ ANSIBLE_HOME ~ "/plugins/connection:/usr/share/ansible/plugins/connection" }}'
|
|
548
|
-
description: Colon
|
|
558
|
+
description: Colon-separated paths in which Ansible will search for Connection Plugins.
|
|
549
559
|
env: [{name: ANSIBLE_CONNECTION_PLUGINS}]
|
|
550
560
|
ini:
|
|
551
561
|
- {key: connection_plugins, section: defaults}
|
|
@@ -556,7 +566,7 @@ DEFAULT_DEBUG:
|
|
|
556
566
|
default: False
|
|
557
567
|
description:
|
|
558
568
|
- "Toggles debug output in Ansible. This is *very* verbose and can hinder
|
|
559
|
-
multiprocessing.
|
|
569
|
+
multiprocessing. Debug output can also include secret information
|
|
560
570
|
despite no_log settings being enabled, which means debug mode should not be used in
|
|
561
571
|
production."
|
|
562
572
|
env: [{name: ANSIBLE_DEBUG}]
|
|
@@ -567,8 +577,8 @@ DEFAULT_EXECUTABLE:
|
|
|
567
577
|
name: Target shell executable
|
|
568
578
|
default: /bin/sh
|
|
569
579
|
description:
|
|
570
|
-
- "This indicates the command to use to spawn a shell under for Ansible's execution needs on a target.
|
|
571
|
-
Users may need to change this in rare instances when shell usage is constrained, but in most cases it may be left as is."
|
|
580
|
+
- "This indicates the command to use to spawn a shell under, which is required for Ansible's execution needs on a target.
|
|
581
|
+
Users may need to change this in rare instances when shell usage is constrained, but in most cases, it may be left as is."
|
|
572
582
|
env: [{name: ANSIBLE_EXECUTABLE}]
|
|
573
583
|
ini:
|
|
574
584
|
- {key: executable, section: defaults}
|
|
@@ -576,9 +586,9 @@ DEFAULT_FACT_PATH:
|
|
|
576
586
|
name: local fact path
|
|
577
587
|
description:
|
|
578
588
|
- "This option allows you to globally configure a custom path for 'local_facts' for the implied :ref:`ansible_collections.ansible.builtin.setup_module` task when using fact gathering."
|
|
579
|
-
- "If not set, it will
|
|
580
|
-
- "This does **not** affect
|
|
581
|
-
- The real action being created by the implicit task is currently
|
|
589
|
+
- "If not set, it will fall back to the default from the ``ansible.builtin.setup`` module: ``/etc/ansible/facts.d``."
|
|
590
|
+
- "This does **not** affect user defined tasks that use the ``ansible.builtin.setup`` module."
|
|
591
|
+
- The real action being created by the implicit task is currently ``ansible.legacy.gather_facts`` module, which then calls the configured fact modules,
|
|
582
592
|
by default this will be ``ansible.builtin.setup`` for POSIX systems but other platforms might have different defaults.
|
|
583
593
|
env: [{name: ANSIBLE_FACT_PATH}]
|
|
584
594
|
ini:
|
|
@@ -593,7 +603,7 @@ DEFAULT_FACT_PATH:
|
|
|
593
603
|
DEFAULT_FILTER_PLUGIN_PATH:
|
|
594
604
|
name: Jinja2 Filter Plugins Path
|
|
595
605
|
default: '{{ ANSIBLE_HOME ~ "/plugins/filter:/usr/share/ansible/plugins/filter" }}'
|
|
596
|
-
description: Colon
|
|
606
|
+
description: Colon-separated paths in which Ansible will search for Jinja2 Filter Plugins.
|
|
597
607
|
env: [{name: ANSIBLE_FILTER_PLUGINS}]
|
|
598
608
|
ini:
|
|
599
609
|
- {key: filter_plugins, section: defaults}
|
|
@@ -676,10 +686,10 @@ DEFAULT_HASH_BEHAVIOUR:
|
|
|
676
686
|
description:
|
|
677
687
|
- This setting controls how duplicate definitions of dictionary variables (aka hash, map, associative array) are handled in Ansible.
|
|
678
688
|
- This does not affect variables whose values are scalars (integers, strings) or arrays.
|
|
679
|
-
- "**WARNING**, changing this setting is not recommended as this is fragile and makes your content (plays, roles, collections)
|
|
689
|
+
- "**WARNING**, changing this setting is not recommended as this is fragile and makes your content (plays, roles, collections) nonportable,
|
|
680
690
|
leading to continual confusion and misuse. Don't change this setting unless you think you have an absolute need for it."
|
|
681
691
|
- We recommend avoiding reusing variable names and relying on the ``combine`` filter and ``vars`` and ``varnames`` lookups
|
|
682
|
-
to create merged versions of the individual variables. In our experience this is rarely
|
|
692
|
+
to create merged versions of the individual variables. In our experience, this is rarely needed and is a sign that too much
|
|
683
693
|
complexity has been introduced into the data structures and plays.
|
|
684
694
|
- For some uses you can also look into custom vars_plugins to merge on input, even substituting the default ``host_group_vars``
|
|
685
695
|
that is in charge of parsing the ``host_vars/`` and ``group_vars/`` directories. Most users of this setting are only interested in inventory scope,
|
|
@@ -696,7 +706,7 @@ DEFAULT_HASH_BEHAVIOUR:
|
|
|
696
706
|
DEFAULT_HOST_LIST:
|
|
697
707
|
name: Inventory Source
|
|
698
708
|
default: /etc/ansible/hosts
|
|
699
|
-
description: Comma
|
|
709
|
+
description: Comma-separated list of Ansible inventory sources
|
|
700
710
|
env:
|
|
701
711
|
- name: ANSIBLE_INVENTORY
|
|
702
712
|
expand_relative_paths: True
|
|
@@ -708,7 +718,7 @@ DEFAULT_HOST_LIST:
|
|
|
708
718
|
DEFAULT_HTTPAPI_PLUGIN_PATH:
|
|
709
719
|
name: HttpApi Plugins Path
|
|
710
720
|
default: '{{ ANSIBLE_HOME ~ "/plugins/httpapi:/usr/share/ansible/plugins/httpapi" }}'
|
|
711
|
-
description: Colon
|
|
721
|
+
description: Colon-separated paths in which Ansible will search for HttpApi Plugins.
|
|
712
722
|
env: [{name: ANSIBLE_HTTPAPI_PLUGINS}]
|
|
713
723
|
ini:
|
|
714
724
|
- {key: httpapi_plugins, section: defaults}
|
|
@@ -724,13 +734,13 @@ DEFAULT_INTERNAL_POLL_INTERVAL:
|
|
|
724
734
|
description:
|
|
725
735
|
- This sets the interval (in seconds) of Ansible internal processes polling each other.
|
|
726
736
|
Lower values improve performance with large playbooks at the expense of extra CPU load.
|
|
727
|
-
Higher values are more suitable for Ansible usage in automation scenarios
|
|
737
|
+
Higher values are more suitable for Ansible usage in automation scenarios
|
|
728
738
|
when UI responsiveness is not required but CPU usage might be a concern.
|
|
729
739
|
- "The default corresponds to the value hardcoded in Ansible <= 2.1"
|
|
730
740
|
DEFAULT_INVENTORY_PLUGIN_PATH:
|
|
731
741
|
name: Inventory Plugins Path
|
|
732
742
|
default: '{{ ANSIBLE_HOME ~ "/plugins/inventory:/usr/share/ansible/plugins/inventory" }}'
|
|
733
|
-
description: Colon
|
|
743
|
+
description: Colon-separated paths in which Ansible will search for Inventory Plugins.
|
|
734
744
|
env: [{name: ANSIBLE_INVENTORY_PLUGINS}]
|
|
735
745
|
ini:
|
|
736
746
|
- {key: inventory_plugins, section: defaults}
|
|
@@ -769,7 +779,7 @@ DEFAULT_LIBVIRT_LXC_NOSECLABEL:
|
|
|
769
779
|
name: No security label on Lxc
|
|
770
780
|
default: False
|
|
771
781
|
description:
|
|
772
|
-
- "This setting causes libvirt to connect to
|
|
782
|
+
- "This setting causes libvirt to connect to LXC containers by passing ``--noseclabel`` parameter to ``virsh`` command.
|
|
773
783
|
This is necessary when running on systems which do not have SELinux."
|
|
774
784
|
env:
|
|
775
785
|
- name: ANSIBLE_LIBVIRT_LXC_NOSECLABEL
|
|
@@ -808,14 +818,14 @@ DEFAULT_LOG_PATH:
|
|
|
808
818
|
DEFAULT_LOG_FILTER:
|
|
809
819
|
name: Name filters for python logger
|
|
810
820
|
default: []
|
|
811
|
-
description: List of logger names to filter out of the log file
|
|
821
|
+
description: List of logger names to filter out of the log file.
|
|
812
822
|
env: [{name: ANSIBLE_LOG_FILTER}]
|
|
813
823
|
ini:
|
|
814
824
|
- {key: log_filter, section: defaults}
|
|
815
825
|
type: list
|
|
816
826
|
DEFAULT_LOOKUP_PLUGIN_PATH:
|
|
817
827
|
name: Lookup Plugins Path
|
|
818
|
-
description: Colon
|
|
828
|
+
description: Colon-separated paths in which Ansible will search for Lookup Plugins.
|
|
819
829
|
default: '{{ ANSIBLE_HOME ~ "/plugins/lookup:/usr/share/ansible/plugins/lookup" }}'
|
|
820
830
|
env: [{name: ANSIBLE_LOOKUP_PLUGINS}]
|
|
821
831
|
ini:
|
|
@@ -825,7 +835,7 @@ DEFAULT_LOOKUP_PLUGIN_PATH:
|
|
|
825
835
|
DEFAULT_MANAGED_STR:
|
|
826
836
|
name: Ansible managed
|
|
827
837
|
default: 'Ansible managed'
|
|
828
|
-
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
|
|
838
|
+
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.
|
|
829
839
|
env: []
|
|
830
840
|
ini:
|
|
831
841
|
- {key: ansible_managed, section: defaults}
|
|
@@ -856,7 +866,7 @@ DEFAULT_MODULE_NAME:
|
|
|
856
866
|
- {key: module_name, section: defaults}
|
|
857
867
|
DEFAULT_MODULE_PATH:
|
|
858
868
|
name: Modules Path
|
|
859
|
-
description: Colon
|
|
869
|
+
description: Colon-separated paths in which Ansible will search for Modules.
|
|
860
870
|
default: '{{ ANSIBLE_HOME ~ "/plugins/modules:/usr/share/ansible/plugins/modules" }}'
|
|
861
871
|
env: [{name: ANSIBLE_LIBRARY}]
|
|
862
872
|
ini:
|
|
@@ -864,7 +874,7 @@ DEFAULT_MODULE_PATH:
|
|
|
864
874
|
type: pathspec
|
|
865
875
|
DEFAULT_MODULE_UTILS_PATH:
|
|
866
876
|
name: Module Utils Path
|
|
867
|
-
description: Colon
|
|
877
|
+
description: Colon-separated paths in which Ansible will search for Module utils files, which are shared by modules.
|
|
868
878
|
default: '{{ ANSIBLE_HOME ~ "/plugins/module_utils:/usr/share/ansible/plugins/module_utils" }}'
|
|
869
879
|
env: [{name: ANSIBLE_MODULE_UTILS}]
|
|
870
880
|
ini:
|
|
@@ -873,7 +883,7 @@ DEFAULT_MODULE_UTILS_PATH:
|
|
|
873
883
|
DEFAULT_NETCONF_PLUGIN_PATH:
|
|
874
884
|
name: Netconf Plugins Path
|
|
875
885
|
default: '{{ ANSIBLE_HOME ~ "/plugins/netconf:/usr/share/ansible/plugins/netconf" }}'
|
|
876
|
-
description: Colon
|
|
886
|
+
description: Colon-separated paths in which Ansible will search for Netconf Plugins.
|
|
877
887
|
env: [{name: ANSIBLE_NETCONF_PLUGINS}]
|
|
878
888
|
ini:
|
|
879
889
|
- {key: netconf_plugins, section: defaults}
|
|
@@ -890,7 +900,7 @@ DEFAULT_NO_TARGET_SYSLOG:
|
|
|
890
900
|
name: No syslog on target
|
|
891
901
|
default: False
|
|
892
902
|
description:
|
|
893
|
-
- Toggle Ansible logging to syslog on the target when it executes tasks. On Windows hosts this will disable a newer
|
|
903
|
+
- Toggle Ansible logging to syslog on the target when it executes tasks. On Windows hosts, this will disable a newer
|
|
894
904
|
style PowerShell modules from writing to the event log.
|
|
895
905
|
env: [{name: ANSIBLE_NO_TARGET_SYSLOG}]
|
|
896
906
|
ini:
|
|
@@ -925,7 +935,7 @@ DEFAULT_PRIVATE_KEY_FILE:
|
|
|
925
935
|
default: ~
|
|
926
936
|
description:
|
|
927
937
|
- Option for connections using a certificate or key file to authenticate, rather than an agent or passwords,
|
|
928
|
-
you can set the default value here to avoid re-specifying
|
|
938
|
+
you can set the default value here to avoid re-specifying ``--private-key`` with every invocation.
|
|
929
939
|
env: [{name: ANSIBLE_PRIVATE_KEY_FILE}]
|
|
930
940
|
ini:
|
|
931
941
|
- {key: private_key_file, section: defaults}
|
|
@@ -935,7 +945,10 @@ DEFAULT_PRIVATE_ROLE_VARS:
|
|
|
935
945
|
default: False
|
|
936
946
|
description:
|
|
937
947
|
- By default, imported roles publish their variables to the play and other roles, this setting can avoid that.
|
|
938
|
-
- This was introduced as a way to reset role variables to default values if a role is used more than once
|
|
948
|
+
- This was introduced as a way to reset role variables to default values if a role is used more than once
|
|
949
|
+
in a playbook.
|
|
950
|
+
- Starting in version '2.17' M(ansible.builtin.include_roles) and M(ansible.builtin.import_roles) can
|
|
951
|
+
indivudually override this via the C(public) parameter.
|
|
939
952
|
- Included roles only make their variables public at execution, unlike imported roles which happen at playbook compile time.
|
|
940
953
|
env: [{name: ANSIBLE_PRIVATE_ROLE_VARS}]
|
|
941
954
|
ini:
|
|
@@ -962,7 +975,7 @@ DEFAULT_REMOTE_USER:
|
|
|
962
975
|
DEFAULT_ROLES_PATH:
|
|
963
976
|
name: Roles path
|
|
964
977
|
default: '{{ ANSIBLE_HOME ~ "/roles:/usr/share/ansible/roles:/etc/ansible/roles" }}'
|
|
965
|
-
description: Colon
|
|
978
|
+
description: Colon-separated paths in which Ansible will search for Roles.
|
|
966
979
|
env: [{name: ANSIBLE_ROLES_PATH}]
|
|
967
980
|
expand_relative_paths: True
|
|
968
981
|
ini:
|
|
@@ -974,7 +987,7 @@ DEFAULT_SELINUX_SPECIAL_FS:
|
|
|
974
987
|
default: fuse, nfs, vboxsf, ramfs, 9p, vfat
|
|
975
988
|
description:
|
|
976
989
|
- "Some filesystems do not support safe operations and/or return inconsistent errors,
|
|
977
|
-
this setting makes Ansible 'tolerate' those in the list
|
|
990
|
+
this setting makes Ansible 'tolerate' those in the list without causing fatal errors."
|
|
978
991
|
- Data corruption may occur and writes are not always verified when a filesystem is in the list.
|
|
979
992
|
env:
|
|
980
993
|
- name: ANSIBLE_SELINUX_SPECIAL_FS
|
|
@@ -993,10 +1006,10 @@ DEFAULT_STDOUT_CALLBACK:
|
|
|
993
1006
|
ini:
|
|
994
1007
|
- {key: stdout_callback, section: defaults}
|
|
995
1008
|
EDITOR:
|
|
996
|
-
name: editor application
|
|
1009
|
+
name: editor application to use
|
|
997
1010
|
default: vi
|
|
998
1011
|
descrioption:
|
|
999
|
-
- for the cases in which Ansible needs to return a file within an editor, this chooses the application to use
|
|
1012
|
+
- for the cases in which Ansible needs to return a file within an editor, this chooses the application to use.
|
|
1000
1013
|
ini:
|
|
1001
1014
|
- section: defaults
|
|
1002
1015
|
key: editor
|
|
@@ -1023,7 +1036,7 @@ TASK_DEBUGGER_IGNORE_ERRORS:
|
|
|
1023
1036
|
description:
|
|
1024
1037
|
- This option defines whether the task debugger will be invoked on a failed task when ignore_errors=True
|
|
1025
1038
|
is specified.
|
|
1026
|
-
- True specifies that the debugger will honor ignore_errors, False will not honor ignore_errors.
|
|
1039
|
+
- True specifies that the debugger will honor ignore_errors, and False will not honor ignore_errors.
|
|
1027
1040
|
type: boolean
|
|
1028
1041
|
env: [{name: ANSIBLE_TASK_DEBUGGER_IGNORE_ERRORS}]
|
|
1029
1042
|
ini:
|
|
@@ -1039,7 +1052,7 @@ DEFAULT_STRATEGY:
|
|
|
1039
1052
|
version_added: "2.3"
|
|
1040
1053
|
DEFAULT_STRATEGY_PLUGIN_PATH:
|
|
1041
1054
|
name: Strategy Plugins Path
|
|
1042
|
-
description: Colon
|
|
1055
|
+
description: Colon-separated paths in which Ansible will search for Strategy Plugins.
|
|
1043
1056
|
default: '{{ ANSIBLE_HOME ~ "/plugins/strategy:/usr/share/ansible/plugins/strategy" }}'
|
|
1044
1057
|
env: [{name: ANSIBLE_STRATEGY_PLUGINS}]
|
|
1045
1058
|
ini:
|
|
@@ -1056,21 +1069,21 @@ DEFAULT_SU:
|
|
|
1056
1069
|
DEFAULT_SYSLOG_FACILITY:
|
|
1057
1070
|
name: syslog facility
|
|
1058
1071
|
default: LOG_USER
|
|
1059
|
-
description: Syslog facility to use when Ansible logs to the remote target
|
|
1072
|
+
description: Syslog facility to use when Ansible logs to the remote target.
|
|
1060
1073
|
env: [{name: ANSIBLE_SYSLOG_FACILITY}]
|
|
1061
1074
|
ini:
|
|
1062
1075
|
- {key: syslog_facility, section: defaults}
|
|
1063
1076
|
DEFAULT_TERMINAL_PLUGIN_PATH:
|
|
1064
1077
|
name: Terminal Plugins Path
|
|
1065
1078
|
default: '{{ ANSIBLE_HOME ~ "/plugins/terminal:/usr/share/ansible/plugins/terminal" }}'
|
|
1066
|
-
description: Colon
|
|
1079
|
+
description: Colon-separated paths in which Ansible will search for Terminal Plugins.
|
|
1067
1080
|
env: [{name: ANSIBLE_TERMINAL_PLUGINS}]
|
|
1068
1081
|
ini:
|
|
1069
1082
|
- {key: terminal_plugins, section: defaults}
|
|
1070
1083
|
type: pathspec
|
|
1071
1084
|
DEFAULT_TEST_PLUGIN_PATH:
|
|
1072
1085
|
name: Jinja2 Test Plugins Path
|
|
1073
|
-
description: Colon
|
|
1086
|
+
description: Colon-separated paths in which Ansible will search for Jinja2 Test Plugins.
|
|
1074
1087
|
default: '{{ ANSIBLE_HOME ~ "/plugins/test:/usr/share/ansible/plugins/test" }}'
|
|
1075
1088
|
env: [{name: ANSIBLE_TEST_PLUGINS}]
|
|
1076
1089
|
ini:
|
|
@@ -1107,7 +1120,7 @@ DEFAULT_UNDEFINED_VAR_BEHAVIOR:
|
|
|
1107
1120
|
DEFAULT_VARS_PLUGIN_PATH:
|
|
1108
1121
|
name: Vars Plugins Path
|
|
1109
1122
|
default: '{{ ANSIBLE_HOME ~ "/plugins/vars:/usr/share/ansible/plugins/vars" }}'
|
|
1110
|
-
description: Colon
|
|
1123
|
+
description: Colon-separated paths in which Ansible will search for Vars Plugins.
|
|
1111
1124
|
env: [{name: ANSIBLE_VARS_PLUGINS}]
|
|
1112
1125
|
ini:
|
|
1113
1126
|
- {key: vars_plugins, section: defaults}
|
|
@@ -1124,7 +1137,7 @@ DEFAULT_VARS_PLUGIN_PATH:
|
|
|
1124
1137
|
DEFAULT_VAULT_ID_MATCH:
|
|
1125
1138
|
name: Force vault id match
|
|
1126
1139
|
default: False
|
|
1127
|
-
description: 'If true, decrypting vaults with a vault id will only try the password from the matching vault-id'
|
|
1140
|
+
description: 'If true, decrypting vaults with a vault id will only try the password from the matching vault-id.'
|
|
1128
1141
|
env: [{name: ANSIBLE_VAULT_ID_MATCH}]
|
|
1129
1142
|
ini:
|
|
1130
1143
|
- {key: vault_id_match, section: defaults}
|
|
@@ -1132,7 +1145,7 @@ DEFAULT_VAULT_ID_MATCH:
|
|
|
1132
1145
|
DEFAULT_VAULT_IDENTITY:
|
|
1133
1146
|
name: Vault id label
|
|
1134
1147
|
default: default
|
|
1135
|
-
description: 'The label to use for the default vault id label in cases where a vault id label is not provided'
|
|
1148
|
+
description: 'The label to use for the default vault id label in cases where a vault id label is not provided.'
|
|
1136
1149
|
env: [{name: ANSIBLE_VAULT_IDENTITY}]
|
|
1137
1150
|
ini:
|
|
1138
1151
|
- {key: vault_identity, section: defaults}
|
|
@@ -1147,7 +1160,7 @@ VAULT_ENCRYPT_SALT:
|
|
|
1147
1160
|
version_added: '2.15'
|
|
1148
1161
|
DEFAULT_VAULT_ENCRYPT_IDENTITY:
|
|
1149
1162
|
name: Vault id to use for encryption
|
|
1150
|
-
description: 'The vault_id to use for encrypting by default. If multiple vault_ids are provided, this specifies which to use for encryption. The
|
|
1163
|
+
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.'
|
|
1151
1164
|
env: [{name: ANSIBLE_VAULT_ENCRYPT_IDENTITY}]
|
|
1152
1165
|
ini:
|
|
1153
1166
|
- {key: vault_encrypt_identity, section: defaults}
|
|
@@ -1155,7 +1168,7 @@ DEFAULT_VAULT_ENCRYPT_IDENTITY:
|
|
|
1155
1168
|
DEFAULT_VAULT_IDENTITY_LIST:
|
|
1156
1169
|
name: Default vault ids
|
|
1157
1170
|
default: []
|
|
1158
|
-
description: 'A list of vault-ids to use by default. Equivalent to multiple
|
|
1171
|
+
description: 'A list of vault-ids to use by default. Equivalent to multiple ``--vault-id`` args. Vault-ids are tried in order.'
|
|
1159
1172
|
env: [{name: ANSIBLE_VAULT_IDENTITY_LIST}]
|
|
1160
1173
|
ini:
|
|
1161
1174
|
- {key: vault_identity_list, section: defaults}
|
|
@@ -1165,7 +1178,7 @@ DEFAULT_VAULT_PASSWORD_FILE:
|
|
|
1165
1178
|
name: Vault password file
|
|
1166
1179
|
default: ~
|
|
1167
1180
|
description:
|
|
1168
|
-
- 'The vault password file to use. Equivalent to
|
|
1181
|
+
- 'The vault password file to use. Equivalent to ``--vault-password-file`` or ``--vault-id``.'
|
|
1169
1182
|
- If executable, it will be run and the resulting stdout will be used as the password.
|
|
1170
1183
|
env: [{name: ANSIBLE_VAULT_PASSWORD_FILE}]
|
|
1171
1184
|
ini:
|
|
@@ -1191,7 +1204,7 @@ DEPRECATION_WARNINGS:
|
|
|
1191
1204
|
DEVEL_WARNING:
|
|
1192
1205
|
name: Running devel warning
|
|
1193
1206
|
default: True
|
|
1194
|
-
description: Toggle to control showing warnings related to running devel
|
|
1207
|
+
description: Toggle to control showing warnings related to running devel.
|
|
1195
1208
|
env: [{name: ANSIBLE_DEVEL_WARNING}]
|
|
1196
1209
|
ini:
|
|
1197
1210
|
- {key: devel_warning, section: defaults}
|
|
@@ -1207,7 +1220,7 @@ DIFF_ALWAYS:
|
|
|
1207
1220
|
DIFF_CONTEXT:
|
|
1208
1221
|
name: Difference context
|
|
1209
1222
|
default: 3
|
|
1210
|
-
description:
|
|
1223
|
+
description: Number of lines of context to show when displaying the differences between files.
|
|
1211
1224
|
env: [{name: ANSIBLE_DIFF_CONTEXT}]
|
|
1212
1225
|
ini:
|
|
1213
1226
|
- {key: context, section: diff}
|
|
@@ -1225,8 +1238,8 @@ DISPLAY_ARGS_TO_STDOUT:
|
|
|
1225
1238
|
you do not want those to be printed."
|
|
1226
1239
|
- "If you set this to True you should be sure that you have secured your environment's stdout
|
|
1227
1240
|
(no one can shoulder surf your screen and you aren't saving stdout to an insecure file) or
|
|
1228
|
-
made sure that all of your playbooks explicitly added the ``no_log: True`` parameter to tasks
|
|
1229
|
-
|
|
1241
|
+
made sure that all of your playbooks explicitly added the ``no_log: True`` parameter to tasks that have sensitive values
|
|
1242
|
+
:ref:`keep_secret_data` for more information."
|
|
1230
1243
|
env: [{name: ANSIBLE_DISPLAY_ARGS_TO_STDOUT}]
|
|
1231
1244
|
ini:
|
|
1232
1245
|
- {key: display_args_to_stdout, section: defaults}
|
|
@@ -1235,7 +1248,7 @@ DISPLAY_ARGS_TO_STDOUT:
|
|
|
1235
1248
|
DISPLAY_SKIPPED_HOSTS:
|
|
1236
1249
|
name: Show skipped results
|
|
1237
1250
|
default: True
|
|
1238
|
-
description: "Toggle to control displaying skipped task/host entries in a task in the default callback"
|
|
1251
|
+
description: "Toggle to control displaying skipped task/host entries in a task in the default callback."
|
|
1239
1252
|
env:
|
|
1240
1253
|
- name: ANSIBLE_DISPLAY_SKIPPED_HOSTS
|
|
1241
1254
|
ini:
|
|
@@ -1245,7 +1258,7 @@ DOCSITE_ROOT_URL:
|
|
|
1245
1258
|
name: Root docsite URL
|
|
1246
1259
|
default: https://docs.ansible.com/ansible-core/
|
|
1247
1260
|
description: Root docsite URL used to generate docs URLs in warning/error text;
|
|
1248
|
-
must be an absolute URL with valid scheme and trailing slash.
|
|
1261
|
+
must be an absolute URL with a valid scheme and trailing slash.
|
|
1249
1262
|
ini:
|
|
1250
1263
|
- {key: docsite_root_url, section: defaults}
|
|
1251
1264
|
version_added: "2.8"
|
|
@@ -1253,7 +1266,7 @@ DUPLICATE_YAML_DICT_KEY:
|
|
|
1253
1266
|
name: Controls ansible behaviour when finding duplicate keys in YAML.
|
|
1254
1267
|
default: warn
|
|
1255
1268
|
description:
|
|
1256
|
-
- By default Ansible will issue a warning when a duplicate dict key is encountered in YAML.
|
|
1269
|
+
- By default, Ansible will issue a warning when a duplicate dict key is encountered in YAML.
|
|
1257
1270
|
- These warnings can be silenced by adjusting this setting to False.
|
|
1258
1271
|
env: [{name: ANSIBLE_DUPLICATE_YAML_DICT_KEY}]
|
|
1259
1272
|
ini:
|
|
@@ -1345,7 +1358,7 @@ GALAXY_ROLE_SKELETON:
|
|
|
1345
1358
|
GALAXY_ROLE_SKELETON_IGNORE:
|
|
1346
1359
|
name: Galaxy role skeleton ignore
|
|
1347
1360
|
default: ["^.git$", "^.*/.git_keep$"]
|
|
1348
|
-
description: patterns of files to ignore inside a Galaxy role or collection skeleton directory
|
|
1361
|
+
description: patterns of files to ignore inside a Galaxy role or collection skeleton directory.
|
|
1349
1362
|
env: [{name: ANSIBLE_GALAXY_ROLE_SKELETON_IGNORE}]
|
|
1350
1363
|
ini:
|
|
1351
1364
|
- {key: role_skeleton_ignore, section: galaxy}
|
|
@@ -1360,14 +1373,14 @@ GALAXY_COLLECTION_SKELETON:
|
|
|
1360
1373
|
GALAXY_COLLECTION_SKELETON_IGNORE:
|
|
1361
1374
|
name: Galaxy collection skeleton ignore
|
|
1362
1375
|
default: ["^.git$", "^.*/.git_keep$"]
|
|
1363
|
-
description: patterns of files to ignore inside a Galaxy collection skeleton directory
|
|
1376
|
+
description: patterns of files to ignore inside a Galaxy collection skeleton directory.
|
|
1364
1377
|
env: [{name: ANSIBLE_GALAXY_COLLECTION_SKELETON_IGNORE}]
|
|
1365
1378
|
ini:
|
|
1366
1379
|
- {key: collection_skeleton_ignore, section: galaxy}
|
|
1367
1380
|
type: list
|
|
1368
1381
|
GALAXY_COLLECTIONS_PATH_WARNING:
|
|
1369
|
-
name: "ansible-galaxy collection install
|
|
1370
|
-
description: "whether ``ansible-galaxy collection install`` should warn about ``--collections-path`` missing from configured :ref:`collections_paths
|
|
1382
|
+
name: "ansible-galaxy collection install collections path warnings"
|
|
1383
|
+
description: "whether ``ansible-galaxy collection install`` should warn about ``--collections-path`` missing from configured :ref:`collections_paths`."
|
|
1371
1384
|
default: true
|
|
1372
1385
|
type: bool
|
|
1373
1386
|
env: [{name: ANSIBLE_GALAXY_COLLECTIONS_PATH_WARNING}]
|
|
@@ -1395,7 +1408,7 @@ GALAXY_SERVER_LIST:
|
|
|
1395
1408
|
- A list of Galaxy servers to use when installing a collection.
|
|
1396
1409
|
- The value corresponds to the config ini header ``[galaxy_server.{{item}}]`` which defines the server details.
|
|
1397
1410
|
- 'See :ref:`galaxy_server_config` for more details on how to define a Galaxy server.'
|
|
1398
|
-
- The order of servers in this list is used
|
|
1411
|
+
- The order of servers in this list is used as the order in which a collection is resolved.
|
|
1399
1412
|
- Setting this config option will ignore the :ref:`galaxy_server` config option.
|
|
1400
1413
|
env: [{name: ANSIBLE_GALAXY_SERVER_LIST}]
|
|
1401
1414
|
ini:
|
|
@@ -1498,11 +1511,13 @@ GALAXY_REQUIRED_VALID_SIGNATURE_COUNT:
|
|
|
1498
1511
|
- This should be a positive integer or all to indicate all signatures must successfully validate the collection.
|
|
1499
1512
|
- Prepend + to the value to fail if no valid signatures are found for the collection.
|
|
1500
1513
|
HOST_KEY_CHECKING:
|
|
1501
|
-
#
|
|
1514
|
+
# NOTE: constant not in use by ssh/paramiko plugins anymore, but they do support the same configuration sources
|
|
1502
1515
|
# TODO: check non ssh connection plugins for use/migration
|
|
1503
|
-
name:
|
|
1516
|
+
name: Toggle host/key check
|
|
1504
1517
|
default: True
|
|
1505
|
-
description:
|
|
1518
|
+
description:
|
|
1519
|
+
- Set this to "False" if you want to avoid host key checking by the underlying connection plugin Ansible uses to connect to the host.
|
|
1520
|
+
- Please read the documentation of the specific connection plugin used for details.
|
|
1506
1521
|
env: [{name: ANSIBLE_HOST_KEY_CHECKING}]
|
|
1507
1522
|
ini:
|
|
1508
1523
|
- {key: host_key_checking, section: defaults}
|
|
@@ -1510,7 +1525,7 @@ HOST_KEY_CHECKING:
|
|
|
1510
1525
|
HOST_PATTERN_MISMATCH:
|
|
1511
1526
|
name: Control host pattern mismatch behaviour
|
|
1512
1527
|
default: 'warning'
|
|
1513
|
-
description: This setting changes the behaviour of mismatched host patterns, it allows you to force a fatal error, a warning or just ignore it
|
|
1528
|
+
description: This setting changes the behaviour of mismatched host patterns, it allows you to force a fatal error, a warning or just ignore it.
|
|
1514
1529
|
env: [{name: ANSIBLE_HOST_PATTERN_MISMATCH}]
|
|
1515
1530
|
ini:
|
|
1516
1531
|
- {key: host_pattern_mismatch, section: inventory}
|
|
@@ -1533,23 +1548,14 @@ INTERPRETER_PYTHON:
|
|
|
1533
1548
|
falling back to a fixed ordered list of well-known Python interpreter locations if a platform-specific default is not
|
|
1534
1549
|
available. The fallback behavior will issue a warning that the interpreter should be set explicitly (since interpreters
|
|
1535
1550
|
installed later may change which one is used). This warning behavior can be disabled by setting ``auto_silent`` or
|
|
1536
|
-
``auto_legacy_silent``. The value of ``auto_legacy`` provides all the same behavior, but for
|
|
1551
|
+
``auto_legacy_silent``. The value of ``auto_legacy`` provides all the same behavior, but for backward-compatibility
|
|
1537
1552
|
with older Ansible releases that always defaulted to ``/usr/bin/python``, will use that interpreter if present.
|
|
1538
1553
|
_INTERPRETER_PYTHON_DISTRO_MAP:
|
|
1539
1554
|
name: Mapping of known included platform pythons for various Linux distros
|
|
1540
1555
|
default:
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
'
|
|
1544
|
-
'9': /usr/bin/python3
|
|
1545
|
-
debian:
|
|
1546
|
-
'8': /usr/bin/python
|
|
1547
|
-
'10': /usr/bin/python3
|
|
1548
|
-
fedora:
|
|
1549
|
-
'23': /usr/bin/python3
|
|
1550
|
-
ubuntu:
|
|
1551
|
-
'14': /usr/bin/python
|
|
1552
|
-
'16': /usr/bin/python3
|
|
1556
|
+
# Entry only for testing
|
|
1557
|
+
ansible test:
|
|
1558
|
+
'99': /usr/bin/python99
|
|
1553
1559
|
version_added: "2.8"
|
|
1554
1560
|
# FUTURE: add inventory override once we're sure it can't be abused by a rogue target
|
|
1555
1561
|
# FUTURE: add a platform layer to the map so we could use for, eg, freebsd/macos/etc?
|
|
@@ -1562,12 +1568,8 @@ INTERPRETER_PYTHON_FALLBACK:
|
|
|
1562
1568
|
- python3.9
|
|
1563
1569
|
- python3.8
|
|
1564
1570
|
- python3.7
|
|
1565
|
-
- python3.6
|
|
1566
1571
|
- /usr/bin/python3
|
|
1567
|
-
-
|
|
1568
|
-
- python2.7
|
|
1569
|
-
- /usr/bin/python
|
|
1570
|
-
- python
|
|
1572
|
+
- python3
|
|
1571
1573
|
vars:
|
|
1572
1574
|
- name: ansible_interpreter_python_fallback
|
|
1573
1575
|
type: list
|
|
@@ -1590,7 +1592,7 @@ TRANSFORM_INVALID_GROUP_CHARS:
|
|
|
1590
1592
|
INVALID_TASK_ATTRIBUTE_FAILED:
|
|
1591
1593
|
name: Controls whether invalid attributes for a task result in errors instead of warnings
|
|
1592
1594
|
default: True
|
|
1593
|
-
description: If 'false', invalid attributes for a task will result in warnings instead of errors
|
|
1595
|
+
description: If 'false', invalid attributes for a task will result in warnings instead of errors.
|
|
1594
1596
|
type: boolean
|
|
1595
1597
|
env:
|
|
1596
1598
|
- name: ANSIBLE_INVALID_TASK_ATTRIBUTE_FAILED
|
|
@@ -1683,7 +1685,7 @@ INVENTORY_EXPORT:
|
|
|
1683
1685
|
INVENTORY_IGNORE_EXTS:
|
|
1684
1686
|
name: Inventory ignore extensions
|
|
1685
1687
|
default: "{{(REJECT_EXTS + ('.orig', '.ini', '.cfg', '.retry'))}}"
|
|
1686
|
-
description: List of extensions to ignore when using a directory as an inventory source
|
|
1688
|
+
description: List of extensions to ignore when using a directory as an inventory source.
|
|
1687
1689
|
env: [{name: ANSIBLE_INVENTORY_IGNORE}]
|
|
1688
1690
|
ini:
|
|
1689
1691
|
- {key: inventory_ignore_extensions, section: defaults}
|
|
@@ -1692,7 +1694,7 @@ INVENTORY_IGNORE_EXTS:
|
|
|
1692
1694
|
INVENTORY_IGNORE_PATTERNS:
|
|
1693
1695
|
name: Inventory ignore patterns
|
|
1694
1696
|
default: []
|
|
1695
|
-
description: List of patterns to ignore when using a directory as an inventory source
|
|
1697
|
+
description: List of patterns to ignore when using a directory as an inventory source.
|
|
1696
1698
|
env: [{name: ANSIBLE_INVENTORY_IGNORE_REGEX}]
|
|
1697
1699
|
ini:
|
|
1698
1700
|
- {key: inventory_ignore_patterns, section: defaults}
|
|
@@ -1703,29 +1705,16 @@ INVENTORY_UNPARSED_IS_FAILED:
|
|
|
1703
1705
|
default: False
|
|
1704
1706
|
description: >
|
|
1705
1707
|
If 'true' it is a fatal error if every single potential inventory
|
|
1706
|
-
source fails to parse, otherwise this situation will only attract a
|
|
1708
|
+
source fails to parse, otherwise, this situation will only attract a
|
|
1707
1709
|
warning.
|
|
1708
1710
|
env: [{name: ANSIBLE_INVENTORY_UNPARSED_FAILED}]
|
|
1709
1711
|
ini:
|
|
1710
1712
|
- {key: unparsed_is_failed, section: inventory}
|
|
1711
1713
|
type: bool
|
|
1712
|
-
JINJA2_NATIVE_WARNING:
|
|
1713
|
-
name: Running older than required Jinja version for jinja2_native warning
|
|
1714
|
-
default: True
|
|
1715
|
-
description: Toggle to control showing warnings related to running a Jinja version
|
|
1716
|
-
older than required for jinja2_native
|
|
1717
|
-
env:
|
|
1718
|
-
- name: ANSIBLE_JINJA2_NATIVE_WARNING
|
|
1719
|
-
deprecated:
|
|
1720
|
-
why: This option is no longer used in the Ansible Core code base.
|
|
1721
|
-
version: "2.17"
|
|
1722
|
-
ini:
|
|
1723
|
-
- {key: jinja2_native_warning, section: defaults}
|
|
1724
|
-
type: boolean
|
|
1725
1714
|
MAX_FILE_SIZE_FOR_DIFF:
|
|
1726
1715
|
name: Diff maximum file size
|
|
1727
1716
|
default: 104448
|
|
1728
|
-
description: Maximum size of files to be considered for diff display
|
|
1717
|
+
description: Maximum size of files to be considered for diff display.
|
|
1729
1718
|
env: [{name: ANSIBLE_MAX_DIFF_SIZE}]
|
|
1730
1719
|
ini:
|
|
1731
1720
|
- {key: max_diff_size, section: defaults}
|
|
@@ -1754,8 +1743,8 @@ MODULE_IGNORE_EXTS:
|
|
|
1754
1743
|
name: Module ignore extensions
|
|
1755
1744
|
default: "{{(REJECT_EXTS + ('.yaml', '.yml', '.ini'))}}"
|
|
1756
1745
|
description:
|
|
1757
|
-
- List of extensions to ignore when looking for modules to load
|
|
1758
|
-
- This is for rejecting script and binary module fallback extensions
|
|
1746
|
+
- List of extensions to ignore when looking for modules to load.
|
|
1747
|
+
- This is for rejecting script and binary module fallback extensions.
|
|
1759
1748
|
env: [{name: ANSIBLE_MODULE_IGNORE_EXTS}]
|
|
1760
1749
|
ini:
|
|
1761
1750
|
- {key: module_ignore_exts, section: defaults}
|
|
@@ -1763,16 +1752,16 @@ MODULE_IGNORE_EXTS:
|
|
|
1763
1752
|
MODULE_STRICT_UTF8_RESPONSE:
|
|
1764
1753
|
name: Module strict UTF-8 response
|
|
1765
1754
|
description:
|
|
1766
|
-
- Enables whether module responses are evaluated for containing non
|
|
1767
|
-
- Disabling this may result in unexpected behavior
|
|
1768
|
-
- Only ansible-core should evaluate this configuration
|
|
1755
|
+
- Enables whether module responses are evaluated for containing non-UTF-8 data.
|
|
1756
|
+
- Disabling this may result in unexpected behavior.
|
|
1757
|
+
- Only ansible-core should evaluate this configuration.
|
|
1769
1758
|
env: [{name: ANSIBLE_MODULE_STRICT_UTF8_RESPONSE}]
|
|
1770
1759
|
ini:
|
|
1771
1760
|
- {key: module_strict_utf8_response, section: defaults}
|
|
1772
1761
|
type: bool
|
|
1773
1762
|
default: True
|
|
1774
1763
|
OLD_PLUGIN_CACHE_CLEARING:
|
|
1775
|
-
description: Previously Ansible would only clear some of the plugin loading caches when loading new roles, this led to some
|
|
1764
|
+
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.
|
|
1776
1765
|
env: [{name: ANSIBLE_OLD_PLUGIN_CACHE_CLEAR}]
|
|
1777
1766
|
ini:
|
|
1778
1767
|
- {key: old_plugin_cache_clear, section: defaults}
|
|
@@ -1783,7 +1772,7 @@ PAGER:
|
|
|
1783
1772
|
name: pager application to use
|
|
1784
1773
|
default: less
|
|
1785
1774
|
descrioption:
|
|
1786
|
-
- for the cases in which Ansible needs to return output in pageable fashion, this chooses the application to use
|
|
1775
|
+
- for the cases in which Ansible needs to return output in a pageable fashion, this chooses the application to use.
|
|
1787
1776
|
ini:
|
|
1788
1777
|
- section: defaults
|
|
1789
1778
|
key: pager
|
|
@@ -1793,13 +1782,16 @@ PAGER:
|
|
|
1793
1782
|
version_added: '2.15'
|
|
1794
1783
|
- name: PAGER
|
|
1795
1784
|
PARAMIKO_HOST_KEY_AUTO_ADD:
|
|
1796
|
-
# TODO: move to plugin
|
|
1797
1785
|
default: False
|
|
1798
1786
|
description: 'TODO: write it'
|
|
1799
1787
|
env: [{name: ANSIBLE_PARAMIKO_HOST_KEY_AUTO_ADD}]
|
|
1800
1788
|
ini:
|
|
1801
1789
|
- {key: host_key_auto_add, section: paramiko_connection}
|
|
1802
1790
|
type: boolean
|
|
1791
|
+
deprecated:
|
|
1792
|
+
why: This option was moved to the plugin itself
|
|
1793
|
+
version: "2.20"
|
|
1794
|
+
alternatives: Use the option from the plugin itself.
|
|
1803
1795
|
PARAMIKO_LOOK_FOR_KEYS:
|
|
1804
1796
|
name: look for keys
|
|
1805
1797
|
default: True
|
|
@@ -1808,10 +1800,14 @@ PARAMIKO_LOOK_FOR_KEYS:
|
|
|
1808
1800
|
ini:
|
|
1809
1801
|
- {key: look_for_keys, section: paramiko_connection}
|
|
1810
1802
|
type: boolean
|
|
1803
|
+
deprecated:
|
|
1804
|
+
why: This option was moved to the plugin itself
|
|
1805
|
+
version: "2.20"
|
|
1806
|
+
alternatives: Use the option from the plugin itself.
|
|
1811
1807
|
PERSISTENT_CONTROL_PATH_DIR:
|
|
1812
1808
|
name: Persistence socket path
|
|
1813
1809
|
default: '{{ ANSIBLE_HOME ~ "/pc" }}'
|
|
1814
|
-
description: Path to socket to be used by the connection persistence system.
|
|
1810
|
+
description: Path to the socket to be used by the connection persistence system.
|
|
1815
1811
|
env: [{name: ANSIBLE_PERSISTENT_CONTROL_PATH_DIR}]
|
|
1816
1812
|
ini:
|
|
1817
1813
|
- {key: control_path_dir, section: persistent_connection}
|
|
@@ -1835,7 +1831,7 @@ PERSISTENT_CONNECT_RETRY_TIMEOUT:
|
|
|
1835
1831
|
PERSISTENT_COMMAND_TIMEOUT:
|
|
1836
1832
|
name: Persistence command timeout
|
|
1837
1833
|
default: 30
|
|
1838
|
-
description: This controls the amount of time to wait for response from remote device before timing out persistent connection.
|
|
1834
|
+
description: This controls the amount of time to wait for a response from a remote device before timing out a persistent connection.
|
|
1839
1835
|
env: [{name: ANSIBLE_PERSISTENT_COMMAND_TIMEOUT}]
|
|
1840
1836
|
ini:
|
|
1841
1837
|
- {key: command_timeout, section: persistent_connection}
|
|
@@ -1853,7 +1849,7 @@ PLAYBOOK_VARS_ROOT:
|
|
|
1853
1849
|
default: top
|
|
1854
1850
|
version_added: "2.4.1"
|
|
1855
1851
|
description:
|
|
1856
|
-
- This sets which playbook dirs will be used as a root to process vars plugins, which includes finding host_vars/group_vars
|
|
1852
|
+
- This sets which playbook dirs will be used as a root to process vars plugins, which includes finding host_vars/group_vars.
|
|
1857
1853
|
env: [{name: ANSIBLE_PLAYBOOK_VARS_ROOT}]
|
|
1858
1854
|
ini:
|
|
1859
1855
|
- {key: playbook_vars_root, section: defaults}
|
|
@@ -1909,7 +1905,7 @@ RUN_VARS_PLUGINS:
|
|
|
1909
1905
|
name: When should vars plugins run relative to inventory
|
|
1910
1906
|
default: demand
|
|
1911
1907
|
description:
|
|
1912
|
-
- This setting can be used to optimize vars_plugin usage depending on user's inventory size and play selection.
|
|
1908
|
+
- This setting can be used to optimize vars_plugin usage depending on the user's inventory size and play selection.
|
|
1913
1909
|
env: [{name: ANSIBLE_RUN_VARS_PLUGINS}]
|
|
1914
1910
|
ini:
|
|
1915
1911
|
- {key: run_vars_plugins, section: defaults}
|
|
@@ -1921,7 +1917,7 @@ RUN_VARS_PLUGINS:
|
|
|
1921
1917
|
SHOW_CUSTOM_STATS:
|
|
1922
1918
|
name: Display custom stats
|
|
1923
1919
|
default: False
|
|
1924
|
-
description: 'This adds the custom stats set via the set_stats plugin to the default output'
|
|
1920
|
+
description: 'This adds the custom stats set via the set_stats plugin to the default output.'
|
|
1925
1921
|
env: [{name: ANSIBLE_SHOW_CUSTOM_STATS}]
|
|
1926
1922
|
ini:
|
|
1927
1923
|
- {key: show_custom_stats, section: defaults}
|
|
@@ -1930,7 +1926,7 @@ STRING_TYPE_FILTERS:
|
|
|
1930
1926
|
name: Filters to preserve strings
|
|
1931
1927
|
default: [string, to_json, to_nice_json, to_yaml, to_nice_yaml, ppretty, json]
|
|
1932
1928
|
description:
|
|
1933
|
-
- "This list of filters avoids 'type conversion' when templating variables"
|
|
1929
|
+
- "This list of filters avoids 'type conversion' when templating variables."
|
|
1934
1930
|
- Useful when you want to avoid conversion into lists or dictionaries for JSON strings, for example.
|
|
1935
1931
|
env: [{name: ANSIBLE_STRING_TYPE_FILTERS}]
|
|
1936
1932
|
ini:
|
|
@@ -1940,8 +1936,8 @@ SYSTEM_WARNINGS:
|
|
|
1940
1936
|
name: System warnings
|
|
1941
1937
|
default: True
|
|
1942
1938
|
description:
|
|
1943
|
-
- Allows disabling of warnings related to potential issues on the system running
|
|
1944
|
-
- These may include warnings about
|
|
1939
|
+
- Allows disabling of warnings related to potential issues on the system running Ansible itself (not on the managed hosts).
|
|
1940
|
+
- These may include warnings about third-party packages or other conditions that should be resolved if possible.
|
|
1945
1941
|
env: [{name: ANSIBLE_SYSTEM_WARNINGS}]
|
|
1946
1942
|
ini:
|
|
1947
1943
|
- {key: system_warnings, section: defaults}
|
|
@@ -1964,6 +1960,15 @@ TAGS_SKIP:
|
|
|
1964
1960
|
ini:
|
|
1965
1961
|
- {key: skip, section: tags}
|
|
1966
1962
|
version_added: "2.5"
|
|
1963
|
+
TARGET_LOG_INFO:
|
|
1964
|
+
name: Target log info
|
|
1965
|
+
description: A string to insert into target logging for tracking purposes
|
|
1966
|
+
env: [{name: ANSIBLE_TARGET_LOG_INFO}]
|
|
1967
|
+
ini:
|
|
1968
|
+
- {key: target_log_info, section: defaults}
|
|
1969
|
+
vars:
|
|
1970
|
+
- name: ansible_target_log_info
|
|
1971
|
+
version_added: "2.17"
|
|
1967
1972
|
TASK_TIMEOUT:
|
|
1968
1973
|
name: Task Timeout
|
|
1969
1974
|
default: 0
|