Felix Fontein
171a028ef8
[stable-10] Avoid six in plugin code ( #10873 ) ( #10877 )
...
EOL CI / EOL Sanity (Ⓐ2.15) (push) Has been cancelled
EOL CI / EOL Units (Ⓐ2.15+py2.7) (push) Has been cancelled
EOL CI / EOL Units (Ⓐ2.15+py3.10) (push) Has been cancelled
EOL CI / EOL Units (Ⓐ2.15+py3.5) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.15+alpine3+py:azp/posix/1/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.15+alpine3+py:azp/posix/2/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.15+alpine3+py:azp/posix/3/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.15+fedora37+py:azp/posix/1/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.15+fedora37+py:azp/posix/2/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.15+fedora37+py:azp/posix/3/) (push) Has been cancelled
nox / Run extra sanity tests (push) Has been cancelled
Avoid six in plugin code (#10873 )
Avoid six in plugin code.
(cherry picked from commit 6cd4665412 )
2025-10-05 07:42:27 +02:00
patchback[bot]
d5d8e1d188
[PR #10271/40fb0f0c backport][stable-10] Inventory plugins: remove deprecated disable_lookups parameter (which was set to its default anyway) ( #10277 )
...
EOL CI / EOL Sanity (Ⓐ2.15) (push) Waiting to run
EOL CI / EOL Units (Ⓐ2.15+py2.7) (push) Waiting to run
EOL CI / EOL Units (Ⓐ2.15+py3.10) (push) Waiting to run
EOL CI / EOL Units (Ⓐ2.15+py3.5) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.15+alpine3+py:azp/posix/1/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.15+alpine3+py:azp/posix/2/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.15+alpine3+py:azp/posix/3/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.15+fedora37+py:azp/posix/1/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.15+fedora37+py:azp/posix/2/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.15+fedora37+py:azp/posix/3/) (push) Waiting to run
nox / Run extra sanity tests (push) Waiting to run
Inventory plugins: remove deprecated disable_lookups parameter (which was set to its default anyway) (#10271 )
* Remove default value for keyword argument that is deprecated since ansible-core 2.19.
* Add changelog fragment.
(cherry picked from commit 40fb0f0c75 )
Co-authored-by: Felix Fontein <felix@fontein.de>
2025-06-18 21:52:53 +02:00
patchback[bot]
8196cacff8
[PR #10234/d032de3b backport][stable-10] Adjust YAML in plugin docs ( #10256 )
...
Adjust YAML in plugin docs (#10234 )
* Adjust YAML in plugin docs.
* Update ignore.txt.
* Forgot two indents.
* adjust connection plugins
adjust filter plugins
adjust inventory plugins
adjust lookup plugins
* Re-add YAML document start.
---------
(cherry picked from commit d032de3b16 )
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Alexei Znamensky <russoz@gmail.com>
2025-06-16 18:01:25 +02: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]
2499c1132d
[PR #9323/1d8f0b29 backport][stable-10] inventory plugins: use f-strings ( #9332 )
...
inventory plugins: use f-strings (#9323 )
* inventory plugins: use f-strings
* add changelog frag
(cherry picked from commit 1d8f0b2942 )
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
2024-12-23 12:25:16 +01:00
Felix Fontein
7fd37ea247
inventory plugins: make wrapping variables as unsafe smarter to avoid triggering an AWX bug ( #8225 )
...
Make wrapping variables as unsafe smarter to avoid triggering an AWX bug.
2024-04-20 09:39:42 +02:00
Felix Fontein
d62fe154d2
inventory plugins: make data obtained from remote unsafe ( #8098 )
...
Make data obtained from remote unsafe.
2024-03-25 06:17:09 +01:00
Gianluca Salvo
4947786d36
Adds group_by_hostgroups parameter to Icinga2 inventory ( #7998 )
...
* (lots of commit messages)
---------
Co-authored-by: Gianluca Salvo <gianluca.salvo@gruppomol.it>
Co-authored-by: Felix Fontein <felix@fontein.de>
2024-03-24 17:01:34 +00:00
Gianluca Salvo
638a7fc199
Add templating support to Icinga2 Inventory ( #7996 )
...
* Add templating support to Icinga2 Inventory
* Added CHANGELOG fragment
* Linting after CI failure
* Update changelogs/fragments/7996-Add templating support to Icinga2 Inventory.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
* Error in variables'name
---------
Co-authored-by: Gianluca Salvo <gianluca.salvo@gruppomol.it>
Co-authored-by: Felix Fontein <felix@fontein.de>
2024-02-25 07:37:53 +01:00
Felix Fontein
d9f3e7a2ec
Only disable cert validation in examples for local network access ( #7576 )
...
Only disable cert validation in examples for local network access!
2023-11-26 21:54:53 +01:00
Felix Fontein
011b2f8bdc
Start using semantic markup ( #6627 )
...
* Start using semantic markup.
* Forgot some places.
* Fix typo.
* Use 'ignore:' prefix until https://github.com/ansible-community/antsibull-docs/pull/155 is out.
* Break too long line.
2023-06-10 09:28:40 +02:00
Felix Fontein
123c7efe5e
Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt ( #5065 )
...
* Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt.
* Replace 'Copyright:' with 'Copyright'
sed -i 's|Copyright:\(.*\)|Copyright\1|' $(rg -l 'Copyright:')
Co-authored-by: Maxwell G <gotmax@e.email>
2022-08-05 12:28:29 +02:00
Nedelin Petkov
969ad475e3
Added new feature for ansible_user and ansible_port in Icinga2 inventory source ( #4088 )
...
* Added new feature for ansible_user and ansible_port
* Replaced 'try' and 'except' with 'if' condition
* Replace '!=' with 'is not'
* Fixed if condition
* Implement the constructed interface
* Correction at the suggestion of felixfontein
* Added new options in unit test for icinga2 inventory
* Added blank lines in unit test for icinga2 inventory
* Added default filter in example
Co-authored-by: Felix Fontein <felix@fontein.de>
* Fixed variable name in example
Co-authored-by: Felix Fontein <felix@fontein.de>
* Added a changelog fragment
* Fixed changelog fragment
Co-authored-by: Felix Fontein <felix@fontein.de>
* Updated documentation options
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
2022-01-31 19:50:08 +01:00
Cliff Hults
8da2c630d8
Icinga2 Inventory Plugin - Error handling and inventory name changer ( #3906 )
...
* Added inventory_attr and filter error handling
* Added inventory_attr and filter error handling
* Added inventory_attr and filter error handling
* Added inventory_attr and filter error handling
* Added changelog
* Added inventory_attr and filter error handling
* Added inventory_attr and filter error handling
* Applying requested changes
* FIxes for tests
* Added inventory_attr and filter error handling
* Error handling
* Error handling
* Error handling
* Modifications to unit tests
* Remove pitfall
2021-12-18 20:06:30 +01:00
Cliff Hults
8ab96d9533
Icinga2 inventory plugin ( #3202 )
...
* Added Icinga2 inventory plugin
* Added Icinga2 inventory plugin
* Linting
* Added tests
* Linting
* Linting
* Added tests
* Added tests for icinga2 inventory
* Added tests for icinga2 inventory
* Added tests for icinga2 inventory
* Added tests for icinga2 inventory
* Added tests for icinga2 inventory
* Added tests for icinga2 inventory
* Added tests for icinga2 inventory
* Added tests for icinga2 inventory
* Added tests for icinga2 inventory
* Added tests for icinga2 inventory
* Added tests for icinga2 inventory
* Added tests for icinga2 inventory
* Added tests for icinga2 inventory
* Added tests for icinga2 inventory
* Added tests for icinga2 inventory
* Added tests for icinga2 inventory
* Added tests for icinga2 inventory
* Added tests for icinga2 inventory
* Added tests for icinga2 inventory
* Added tests for icinga2 inventory
* Added tests for icinga2 inventory
* Added tests for icinga2 inventory
* Added tests for icinga2 inventory
* Resolved reviews and added host filters
* Linting
* Fixing yaml for example and updating tests
* Updating test data
* Fixing pep8 indentations
* Missed copywriting
* Missed copywriting
* Updated documentation grammar
* Removing Cacheable class and cleanup
* Update plugins/inventory/icinga2.py
* Update plugins/inventory/icinga2.py
* Bump version number
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/inventory/icinga2.py
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
2021-09-18 15:19:41 +02:00