mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-27 06:09:37 -07:00
[PR #9551/3f7ea607 backport][stable-10] Use multiple YAML documents for inventory plugin examples (#9559)
Use multiple YAML documents for inventory plugin examples (#9551)
* Use multiple YAML documents for inventory plugin examples.
* Add ignore.txt entries.
* Delete no longer needed ignore.txt files.
* Fix typo.
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
---------
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
(cherry picked from commit 3f7ea60766)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
8b56b6dfea
commit
b23d011582
14 changed files with 50 additions and 44 deletions
|
|
@ -70,14 +70,17 @@ DOCUMENTATION = '''
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
---
|
||||
# file name must end with iocage.yaml or iocage.yml
|
||||
plugin: community.general.iocage
|
||||
host: 10.1.0.73
|
||||
user: admin
|
||||
|
||||
---
|
||||
# user is not required if iocage is running on localhost (default)
|
||||
plugin: community.general.iocage
|
||||
|
||||
---
|
||||
# run cryptography without legacy algorithms
|
||||
plugin: community.general.iocage
|
||||
host: 10.1.0.73
|
||||
|
|
@ -85,6 +88,7 @@ user: admin
|
|||
env:
|
||||
CRYPTOGRAPHY_OPENSSL_NO_LEGACY: 1
|
||||
|
||||
---
|
||||
# enable cache
|
||||
plugin: community.general.iocage
|
||||
host: 10.1.0.73
|
||||
|
|
@ -93,6 +97,7 @@ env:
|
|||
CRYPTOGRAPHY_OPENSSL_NO_LEGACY: 1
|
||||
cache: true
|
||||
|
||||
---
|
||||
# see inventory plugin ansible.builtin.constructed
|
||||
plugin: community.general.iocage
|
||||
host: 10.1.0.73
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue