mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-04 01:13:00 +00:00
Add inventory plugin iocage (#9262)
* Add inventory plugin iocage #9261
* inventory/iocage.py BOTMETA entry added.
* Remove missing methods from the test.
* Avoid shell mode.
* Parameter host is optional default=localhost
* Fix AnsibleError calls.
* Update plugins/inventory/iocage.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/inventory/iocage.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/inventory/iocage.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/inventory/iocage.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/inventory/iocage.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/inventory/iocage.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/inventory/iocage.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* iocage_data removed. Not necessarily defined at this point.
* Description mentions that remote hosts are contacted via SSH.
* test inventory iocage
* Create get_jails and get_properties in iocage plugin to simplify testing.
* Update test_iocage.py
* Add fixtures iocage_*
* Update documentation.
* Update documentation.
* Update documentation.
* Fix localhost environment.
* Update plugins/inventory/iocage.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/inventory/iocage.py
Co-authored-by: Felix Fontein <felix@fontein.de>
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 23d97fa4b0)
Co-authored-by: Vladimir Botka <vbotka@gmail.com>
32 lines
817 B
YAML
32 lines
817 B
YAML
_meta:
|
|
hostvars:
|
|
test_101:
|
|
iocage_basejail: 'yes'
|
|
iocage_boot: 'off'
|
|
iocage_ip4: 10.1.0.101
|
|
iocage_ip6: '-'
|
|
iocage_jid: '-'
|
|
iocage_release: 13.4-RELEASE-p2
|
|
iocage_state: down
|
|
iocage_template: ansible_client
|
|
iocage_type: jail
|
|
test_102:
|
|
iocage_basejail: 'yes'
|
|
iocage_boot: 'off'
|
|
iocage_ip4: 10.1.0.102
|
|
iocage_ip6: '-'
|
|
iocage_jid: '-'
|
|
iocage_release: 13.4-RELEASE-p2
|
|
iocage_state: down
|
|
iocage_template: ansible_client
|
|
iocage_type: jail
|
|
test_103:
|
|
iocage_basejail: 'yes'
|
|
iocage_boot: 'off'
|
|
iocage_ip4: 10.1.0.103
|
|
iocage_ip6: '-'
|
|
iocage_jid: '-'
|
|
iocage_release: 13.4-RELEASE-p2
|
|
iocage_state: down
|
|
iocage_template: ansible_client
|
|
iocage_type: jail
|