patchback[bot]
dbd19a5583
[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>
2025-01-22 20:51:37 +01:00
patchback[bot]
1e0a2a72f7
[PR #9584/bd864c45 backport][stable-10] connection/inventory: adjust import __future__ for Python3 ( #9587 )
...
connection/inventory: adjust import __future__ for Python3 (#9584 )
* connection/inventory: adjust import __future__ for Python3
* add changelog frag
* remove metaclass
* adjust chglog
(cherry picked from commit bd864c45ff
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
2025-01-20 19:47:33 +01:00
patchback[bot]
6907ae5a5e
[PR #9539/94d5256a backport][stable-10] Fix #9538 Inventory iocage fails when DHCP is enabled ( #9568 )
...
Fix #9538 Inventory iocage fails when DHCP is enabled (#9539 )
* Fix #9538 Inventory iocage fails when DHCP is enbled.
* Add changelog fragment 9539-iocage-inventory-dhcp.yml
* Keep iocage_ip4 a string.
* Rename the variable iocage_ip4 to iocage_ip4_dict in _parse_ip4.
* Update the changelog fragment.
* Rename _parse_ip4 parameter ip4_addr to ip4.
* Fix changelog frangment present tense.
* If IP is not available set iocage_ip4='-' instead of the empty string.
* Update changelogs/fragments/9539-iocage-inventory-dhcp.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 94d5256adb
)
Co-authored-by: Vladimir Botka <vbotka@gmail.com>
2025-01-13 18:28:24 +01:00
patchback[bot]
b23d011582
[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>
2025-01-08 20:34:06 +01:00
patchback[bot]
151f6c9ce3
[PR #9379/22035608 backport][stable-10] plugins: replace to_native(), to_text(), str() with str() where possible or leave it away in f-string formatting ( #9444 )
...
plugins: replace to_native(), to_text(), str() with str() where possible or leave it away in f-string formatting (#9379 )
* Replace to_native(), to_text(), str() with str() where possible or leave it away in f-string formatting.
* Improve formulation.
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
* Use more f-strings.
* Remove unicode prefix for strings.
---------
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
(cherry picked from commit 2203560867
)
Co-authored-by: Felix Fontein <felix@fontein.de>
2024-12-29 00:06:56 +01:00
patchback[bot]
60ba39da58
[PR #9262/23d97fa4 backport][stable-10] Add inventory plugin iocage ( #9378 )
...
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>
2024-12-25 22:00:31 +01:00