mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-03 12:44:22 -07:00
[PR #9573/8f299761 backport][stable-10] Implement #9572 Add parameter sudo to inventory plugin iocage (#9605)
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>
This commit is contained in:
parent
45f7661249
commit
dbd19a5583
2 changed files with 39 additions and 3 deletions
2
changelogs/fragments/9573-iocage-inventory-sudo.yml
Normal file
2
changelogs/fragments/9573-iocage-inventory-sudo.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
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).
|
Loading…
Add table
Add a link
Reference in a new issue