Felix Fontein
3f7ea60766
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>
2025-01-08 19:37:55 +01:00
Felix Fontein
2203560867
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>
2024-12-28 22:47:18 +01:00
Vladimir Botka
23d97fa4b0
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>
2024-12-25 21:41:40 +01:00