Update generator.py documentation (#65573)
This commit is contained in:
parent
e818ab1dd0
commit
d9f0703b45
1 changed files with 6 additions and 4 deletions
|
@ -38,18 +38,20 @@ DOCUMENTATION = '''
|
||||||
|
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
# inventory.config file in YAML format
|
# inventory.config file in YAML format
|
||||||
|
# remember to enable this inventory plugin in the ansible.cfg before using
|
||||||
|
# View the output using `ansible-inventory -i inventory.config --list`
|
||||||
plugin: generator
|
plugin: generator
|
||||||
strict: False
|
strict: False
|
||||||
hosts:
|
hosts:
|
||||||
name: "{{ operation }}-{{ application }}-{{ environment }}-runner"
|
name: "{{ operation }}_{{ application }}_{{ environment }}_runner"
|
||||||
parents:
|
parents:
|
||||||
- name: "{{ operation }}-{{ application }}-{{ environment }}"
|
- name: "{{ operation }}_{{ application }}_{{ environment }}"
|
||||||
parents:
|
parents:
|
||||||
- name: "{{ operation }}-{{ application }}"
|
- name: "{{ operation }}_{{ application }}"
|
||||||
parents:
|
parents:
|
||||||
- name: "{{ operation }}"
|
- name: "{{ operation }}"
|
||||||
- name: "{{ application }}"
|
- name: "{{ application }}"
|
||||||
- name: "{{ application }}-{{ environment }}"
|
- name: "{{ application }}_{{ environment }}"
|
||||||
parents:
|
parents:
|
||||||
- name: "{{ application }}"
|
- name: "{{ application }}"
|
||||||
vars:
|
vars:
|
||||||
|
|
Loading…
Reference in a new issue