%PDF- %PDF-
| Direktori : /lib/python3.9/site-packages/ansible/plugins/vars/__pycache__/ |
| Current File : //lib/python3.9/site-packages/ansible/plugins/vars/__pycache__/host_group_vars.cpython-39.pyc |
a
�)gt � @ s� d dl mZmZmZ eZdZd dlZd dlm Z
d dlmZ d dl
mZmZmZ d dlmZ d dlmZ d d lmZ d d
lmZ i ZG dd� de�ZdS )
� )�absolute_import�division�print_functionaV
name: host_group_vars
version_added: "2.4"
short_description: In charge of loading group_vars and host_vars
requirements:
- Enabled in configuration
description:
- Loads YAML vars into corresponding groups/hosts in group_vars/ and host_vars/ directories.
- Files are restricted by extension to one of .yaml, .json, .yml or no extension.
- Hidden (starting with '.') and backup (ending with '~') files and directories are ignored.
- Only applies to inventory sources that are existing paths.
- Starting in 2.10, this plugin requires enabling and is enabled by default.
options:
stage:
ini:
- key: stage
section: vars_host_group_vars
env:
- name: ANSIBLE_VARS_PLUGIN_STAGE
_valid_extensions:
default: [".yml", ".yaml", ".json"]
description:
- "Check all of these extensions when looking for 'variable' files which should be YAML or JSON or vaulted versions of these."
- 'This affects vars_files, include_vars, inventory and vars plugins among others.'
env:
- name: ANSIBLE_YAML_FILENAME_EXT
ini:
- key: yaml_valid_extensions
section: defaults
type: list
elements: string
extends_documentation_fragment:
- vars_plugin_staging
N)� constants)�AnsibleParserError)�to_bytes� to_native�to_text)�BaseVarsPlugin)�Host)�Group)�combine_varsc s"