Felix Fontein
e2e1bc796b
Prevent RCE via inventory plugins ( #815 ) ( #818 )
...
* Prevent RCE via inventory plugins.
* Do not make ansible_connection unsafe.
* Add test.
(cherry picked from commit bf1281ae7f )
2024-03-14 22:09:57 +01:00
patchback[bot]
88fb666d41
More true/false normalization. ( #597 ) ( #598 )
...
(cherry picked from commit d0a3e587a5 )
Co-authored-by: Felix Fontein <felix@fontein.de>
2023-03-06 22:36:33 +01:00
Felix Fontein
b29e91f866
Normalize booleans in all other plugins and modules. ( #440 ) ( #443 )
...
(cherry picked from commit be58ccc13f )
2022-08-10 21:46:13 +02:00
Felix Fontein
f41d7ac1b8
Move common utility code to plugins.module_utils.util ( #390 )
...
* Move common utility code to plugins.module_utils.util.
* Also adjust plugins.
* Fix import.
2022-06-20 18:39:13 +02:00
Felix Fontein
fbbc0898ed
More small docs fixes. ( #281 )
2022-01-10 07:42:40 +01:00
Felix Fontein
3d20ba1bc2
Improve documentation ( #278 )
...
* Improve documentation.
* More fixes.
2022-01-09 14:52:44 +01:00
Felix Fontein
8e1c9f890a
docker_containers inventory: fix wrong default mentioned in docs, add fallback example ( #194 )
...
* Fix wrong default mentioned in docs.
* Add fallback example.
2021-08-26 08:32:50 +02:00
Felix Fontein
badcd61a74
Replace ansible.module_utils._text by ansible.module_utils.common.text.converters. ( #164 )
2021-06-26 13:39:51 +02:00
Felix Fontein
902bcc6193
Pass Docker daemon connection params from inventory to connection plugin ( #157 )
...
* Move variable handling to doc fragment, and make them known to module_utils.
* Pass Daemon connection options to connection plugin.
* Add changelog fragment.
* Fix syntax error.
* Forgot 'options:'.
2021-06-22 06:29:56 +02:00
Felix Fontein
e9b10ee0a4
Add use_ssh_client flag ( #114 )
...
* Add use_ssh_client option.
* Unrelated cleanup (unneeded imports).
* Add SSH connection tests.
2021-04-02 10:14:09 +02:00
Felix Fontein
9b131399ce
Docker inventory plugin ( #61 )
...
* Began with docker inventory plugin.
* Linting.
* Improve plugin, add basic unit tests.
* Linting.
* Add integration test.
* Adjust tests to case that there are more containers.
* There can be stopped containers.
ci_coverage
* docker -> docker_containers
2020-12-30 08:44:24 +01:00
Felix Fontein
e691ad72ab
Remove ignore.txt entries ( #29 )
...
* Remove some ignore.txt entries.
* Prepare for validate-plugins.
2020-11-06 06:18:41 +01:00
Felix Fontein
4cdca13f8f
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-10-30 07:05:51 +01:00
ximon18
07019fa857
Add validity check for [Driver][IPAddress] else use docker-machine ip command. ( #412 )
...
* Add validity check for [Driver][IPAddress] else use docker-machine ip command.
* Note why we fallback to the `docker-machine ip <machine name>` command.
* Add changelog fragment.
* Corrected module name in changelog fragment.
Co-authored-by: Ben Roose <ben.roose@wichita.edu>
2020-10-30 07:05:51 +01:00
Felix Fontein
55f6a15338
Fix docker_swarm, docker_machine and gitlab_runners inventory plugins' verify method. ( #67 )
2020-10-30 07:05:51 +01:00
Ansible Core Team
a1f472244d
Initial commit
2020-10-30 07:05:50 +01:00