rundeck-plugins / ansible-plugin

Ansible Integration for Rundeck
MIT License
331 stars 100 forks source link

Rundeck 5.2 Ansible. How to disable -l (--limit) option? #372

Open alexsalex opened 4 months ago

alexsalex commented 4 months ago

Have a playbook with multiple hosts, hosts generated automatically.

How to disable -l option in Rundeck 5.2?

tanji commented 3 months ago

You can't disable limit option in rundeck plugin; limit is always generated from supplied host filter, or you can override it in extra arguments. If you have multiple hosts, why not use ansible group? Or otherwise, just use inline playbook.

alexsalex commented 3 months ago

Use case: I create a VM in VMware. To do that I use localhost. But I need to add the record in the DHCP server, log in to the server, and change the config. In this case, which arguments and groups should I use? Please, help.