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]
14e2dd4cea
[PR #10063/6a40d459 backport][stable-10] Add connection_timeout option to cobbler inventory ( #10095 )
...
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
Add connection_timeout option to cobbler inventory (#10063 )
Signed-off-by: Orion Poplawski <orion@nwra.com>
(cherry picked from commit 6a40d459b5
)
Co-authored-by: Orion Poplawski <orion@nwra.com>
2025-05-02 10:34:25 +02:00
patchback[bot]
ac8942979b
[PR #9975/7524e74b backport][stable-10] cobbler.inventory: Allow collecting fully rendered facts ( #10073 )
...
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
cobbler.inventory: Allow collecting fully rendered facts (#9975 )
Add facts_level option to cobbler inventory plugin, cleanpu
Initialize connection in parse()
Handle rendered system data in _get_systems() so it can be cached
(cherry picked from commit 7524e74bb7
)
Signed-off-by: Orion Poplawski <orion@nwra.com>
Co-authored-by: Orion Poplawski <orion@nwra.com>
Co-authored-by: Tyler Phillippe <tylerphillippe@tutamail.com>
2025-04-26 12:44:02 +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]
98a956a9d6
[PR #9442/ec585392 backport][stable-10] Docs: fix its vs. it's ( #9458 )
...
Docs: fix its vs. it's (#9442 )
* Fix its vs. it's.
* Improvements from review.
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
* Improve formulations.
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 ec585392e5
)
Co-authored-by: Felix Fontein <felix@fontein.de>
2024-12-29 14:13:18 +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]
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
f9a56b9a9b
Type options of inventory plugins ( #8625 )
...
Type options of inventory plugins.
2024-07-21 21:04:16 +02: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
Orion Poplawski
0c03f34f54
plugins/inventory/cobbler: Add exclude/include_mgmt_classes ( #7184 )
2023-09-05 18:36:12 +00:00
Algirdas
7020b27b0a
cobbler inventory plugin: Convert unicode to str ( #6923 )
...
* plugins/inventory/cobbler: Convert unicode to str
* plugins/inventory/cobbler: Use text_type instead
2023-07-16 10:58:30 +02:00
Orion Poplawski
1c4e2d51b2
cobbler: Properly determine cobbler_ip_address ( #6925 )
...
cobbler: Properly determine cobbler_ipv4/6_address
2023-07-15 12:53:21 +02:00
Orion Poplawski
24f27a0bdf
plugins/inventory/cobbler: Collect IP addresses for hosts and add opt… ( #6711 )
...
plugins/inventory/cobbler: Collect IP addresses for hosts and add option to collect all DNS name to IP address mappings
2023-06-19 06:53:46 +02: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
Orion Poplawski
8586adcd51
plugins/inventory/cobbler: Add option to use system name for inventory ( #6502 )
...
* plugins/inventory/cobbler: Add option to use system name for inventory hostname (#6492 )
* plugins/inventory/cobbler: Add warning for systems with empty profiles
2023-05-29 18:53:56 +02:00
Felix Fontein
19ce50f6b9
Adjust booleans in misc plugins. ( #5161 )
2022-08-24 20:00:39 +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
Abhijeet Kasurde
bf94f08bc4
Misc. typo fixes ( #4940 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2022-07-08 23:11:57 +02:00
Felix Fontein
ca2c64b5ca
Fix sanity issues. ( #4346 )
2022-03-14 20:56:27 +01:00
Orion Poplawski
0dd886bac8
[inventory/cobbler] Add include_profiles option ( #4068 )
...
* [inventory/cobbler] Add exclude/include_profile option
Also some minor cleanup
* Review suggestions
* Still must init cache_key
* Add note to exclude_profiles about include_profiles
* Add changelog fragment
2022-01-31 05:57:09 +01:00
Felix Fontein
a2f72be6c8
Prepare for distutils.version being removed in Python 3.12 ( #3936 )
...
* Prepare for distutils.version being removed in Python 2.12.
* Fix copy'n'paste error.
* Re-add Loose prefix.
* Fix Python version typos.
* Improve formulation.
* Move message into own line.
* Fix casing, now that the object is no longer called Version.
2021-12-24 17:34:48 +00:00
Felix Fontein
fafabed9e6
Replace ansible.module_utils._text by ansible.module_utils.common.text.converters ( #2877 )
...
* Replace ansible.module_utils._text by ansible.module_utils.common.text.converters.
* Also adjust tests.
2021-06-26 23:59:11 +02:00
Felix Fontein
99cfb993d5
<plugin_type>: -> name: ( #1541 )
2021-01-12 07:12:03 +01:00
Felix Fontein
e5da25915d
Improve plugin sanity ( #966 )
...
* callback_type -> type.
* Mark authors as unknown.
* Add author field forgotten in #627 .
* Fix author entries.
* Add author field forgotten in #127 .
* Fix some types.
2020-09-28 21:21:51 +02:00
Felix Fontein
ea21341686
Fix plugins (names, constants, FQCNs in examples) ( #722 )
...
* cobbler inventory: fix NAME
* oc transport: fix transport name
* Inventory plugins: fix plugin identifications
* Use FQCN in lookup plugin examples.
* Use FQCN in callback plugins.
* Add changelog fragment.
* Adjust documentation.
* Fix lookup plugin linting errors.
* Fix quotes.
2020-08-08 22:04:34 +02:00
Orion Poplawski
669b7bf090
Add cobbler inventory plugin ( #627 )
...
* Add cobbler inventory plugin
* Add elements, caps
* Use fail_json if we cannot import xmlrpc_client
* [cobbler] Raise AnsibleError for errors
* [plugins/inventory/cobbler] Add cache_fallback option
* [inventory/cobbler] Use != for comparison
* [inventory/cobbler] Add very basic unit tests
* Update plugins/inventory/cobbler.py
Use full name
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
2020-07-21 23:37:01 +03:00