From 79a0799082c5a1d5c04ba4dd560475f97dea4ab5 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Tue, 15 Jun 2021 18:03:01 -0400 Subject: [PATCH] fix typo in host_group_vars config (#75012) * no need to deprecate, not used directly it just documents the use of the setting in loader --- changelogs/fragments/host_group_vars_cfg_fix.yaml | 2 ++ lib/ansible/plugins/vars/host_group_vars.py | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 changelogs/fragments/host_group_vars_cfg_fix.yaml diff --git a/changelogs/fragments/host_group_vars_cfg_fix.yaml b/changelogs/fragments/host_group_vars_cfg_fix.yaml new file mode 100644 index 00000000000..ef36dc63b02 --- /dev/null +++ b/changelogs/fragments/host_group_vars_cfg_fix.yaml @@ -0,0 +1,2 @@ +bugfixes: + - host_group_vars vars plugin fixed ini entry, section and key were reversed. diff --git a/lib/ansible/plugins/vars/host_group_vars.py b/lib/ansible/plugins/vars/host_group_vars.py index 7bdfe332c80..dec18c86189 100644 --- a/lib/ansible/plugins/vars/host_group_vars.py +++ b/lib/ansible/plugins/vars/host_group_vars.py @@ -45,8 +45,8 @@ DOCUMENTATION = ''' env: - name: ANSIBLE_YAML_FILENAME_EXT ini: - - section: yaml_valid_extensions - key: defaults + - key: yaml_valid_extensions + section: defaults type: list extends_documentation_fragment: - vars_plugin_staging