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]
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]
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
Felix Fontein
53978b7440
nmap: fix get_option calls ( #7323 )
...
Fix get_option calls.
2023-09-28 21:27:30 +02:00
Brian Coca
eaf3926c2c
nmap inventory plugin, add use_arp_ping option ( #7119 )
...
* nmap inventory plugin, add use_arp_ping option
* Apply suggestions from code review
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/inventory/nmap.py
Co-authored-by: Felix Fontein <felix@fontein.de>
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
2023-08-20 14:21:51 +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
efrikin
0eb33c2839
Add support env variables for nmap inventory plugin ( #6352 )
...
* Add support env variables for nmap inventory plugin
* Add changelogs/fragments file
* Rename support-env-variables-to-nmap-dynamic-inventoiry to 6351-support-env-variables-to-nmap-dynamic-inventoiry
* Add extension for changelog file
* Fix https://github.com/ansible-collections/community.general/pull/6352#discussion_r1167973326
Co-authored-by: Felix Fontein <felix@fontein.de>
* Fix https://github.com/ansible-collections/community.general/pull/6352#discussion_r1167973295
Co-authored-by: Felix Fontein <felix@fontein.de>
* Fix https://github.com/ansible-collections/community.general/pull/6352#discussion_r1167973265
Co-authored-by: Felix Fontein <felix@fontein.de>
* Fix https://github.com/ansible-collections/community.general/pull/6352#discussion_r1167973193
* Fix linter
* Fix https://github.com/ansible-collections/community.general/pull/6352#discussion_r1168014445
* Fix changelog fragment.
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
2023-04-22 22:56:13 +02:00
barloff-st
59e58079cb
Adding `open` option to nmap ( #6200 )
...
* Adding nmap `open` option
* Removing accidental copy/paste issue
* Update changelogs/fragments/6200-adding-open-option-to-nmap.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/inventory/nmap.py
Co-authored-by: Felix Fontein <felix@fontein.de>
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
2023-03-26 09:29:55 +02:00
barloff-st
bf8f2950b4
Adding support for `-p` option to specify port(s) to scan ( #6165 )
...
* Adding support for `-p` option to specify port(s) to scan
* Adding changelog fragment file
* Corrected appending options
* Edit to doc section
* Correction in documentation type
* Fixed `:` use in doc breaking yaml
* Update changelogs/fragments/6165-nmap-port.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/inventory/nmap.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/inventory/nmap.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Adding usage example
* Adding comment to example that was missed
* Breaking line up, was too long for sanity test 160 char limit
* Still too long since spaces are counted
* Changed type to string to work for a single entry as well as comma separated values
* Update changelogs/fragments/6165-nmap-port.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/inventory/nmap.py
Co-authored-by: Felix Fontein <felix@fontein.de>
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
2023-03-19 13:27:10 +01:00
David Stuart
52c28494ca
Add additional flags to nmap.py ( #5566 )
...
* Adding extra flag options for NMAP scaning udp_scan, icmp_timestamp and dns_resolve
* Update nmap.py
* Update plugins/inventory/nmap.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Updates as per felixfontein suggestions
* Updates as per felixfontein suggestions
* Update plugins/inventory/nmap.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/inventory/nmap.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update nmap.py
* Update changelogs/fragments/5566-additional-flags-nmap.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update changelogs/fragments/5566-additional-flags-nmap.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update 5566-additional-flags-nmap.yml
* Update nmap.py
Co-authored-by: Axis12 <3225945+axistwelve@users.noreply.github.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
2022-11-17 06:56:21 +01:00
Felix Fontein
015566fb06
Normalize more booleans. ( #5247 )
2022-09-06 20:42:17 +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
ottobits
3cce1217db
nmap inventory plugin: Add sudo nmap ( #4506 )
...
* nmap.py: Add sudo nmap
* Update plugins/inventory/nmap.py
Change description of new plugin option adding version_added
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/inventory/nmap.py
Change boolean values of sudo option in example
Co-authored-by: Felix Fontein <felix@fontein.de>
* Create 4506-sudo-in-nmap-inv-plugin.yaml
* Fix typo in yaml format
* Update changelogs/fragments/4506-sudo-in-nmap-inv-plugin.yaml
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
* Update changelogs/fragments/4506-sudo-in-nmap-inv-plugin.yaml
Co-authored-by: Felix Fontein <felix@fontein.de>
* Document default as false.
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
2022-04-21 09:54:38 +02:00
Felix Fontein
ca2c64b5ca
Fix sanity issues. ( #4346 )
2022-03-14 20:56:27 +01:00
Alexei Znamensky
da11a98cb7
fixed the utf-8 marker ( #3162 )
2021-08-07 15:02:21 +02:00
Alexei Znamensky
047b7ada3c
uf8 marker batch2 ( #3128 )
...
* added utf-8 markers to all .py files in plugins/filter
* added utf-8 markers to all .py files in plugins/inventory
* added utf-8 markers to all .py files in plugins/lookup
2021-08-01 12:36:53 +02: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
Dennis Israelsson
448b8cbcda
fix error when cache is disabled ( #2518 )
2021-05-17 07:35:15 +02:00
Dennis Israelsson
31c9ed0fe6
nmap: fix cache support ( #2282 )
...
* add cache support
* pep8 e501 fix
* revert verify_file function
* revert description update
* add changelog fragment
Co-authored-by: Dennis Israelsson <github@mdh.nu>
2021-04-21 16:00:03 -07: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
Ansible Core Team
aebc1b03fd
Initial commit
2020-03-09 09:11:07 +00:00