mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-06 18:50:31 -07:00
Implement #9572 Add parameter sudo to inventory plugin iocage (#9573)
* Add parameter sudo to inventory plugin iocage #9572
* Add changelog fragment.
* Fix error: Expected string in description of sudo.
* Fix No2 error: Expected string in description of sudo.
* Fix documentation type bool
* Update changelogs/fragments/9573-iocage-inventory-sudo.yml
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
* Add option sudo_preserve_env default=true
* Fix DOCUMENTATION.
* Set sudo_preserve_env default=false.
* Update changelogs/fragments/9573-iocage-inventory-sudo.yml
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>
---------
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 8f29976102
)
Co-authored-by: Vladimir Botka <vbotka@gmail.com>
2 lines
351 B
YAML
2 lines
351 B
YAML
minor_changes:
|
|
- iocage inventory plugin - the new parameter ``sudo`` of the plugin lets the command ``iocage list -l`` to run as root on the iocage host. This is needed to get the IPv4 of a running DHCP jail (https://github.com/ansible-collections/community.general/issues/9572, https://github.com/ansible-collections/community.general/pull/9573).
|