rundeck-plugins / ansible-plugin

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

Ansible runs once for each host #286

Closed jseynaev-cisco closed 3 years ago

jseynaev-cisco commented 3 years ago

Hello,

This is just a question, but when running an Ansible Playnbook Job in Rundeck, it looks like every host is a seperate run of the playbook with that host only. Is it possible to have the Playbook run for all hosts selected in the same run ?

I'm asking, because the output in Rundeck now is in a dropdown where you need to drill in for each host, which is a bit of a pain when there's a lot of hosts. If all hosts were in the same run, the output would be condensed (and more like the cli ansible) into a single output for all.

Regards, Jan.

benhwebster commented 3 years ago

I believe it may be because you are using the node playbook step (possibly inline as well) if you switch to using the workflow version it should put all nodes in a single run.

This webinar from the rundeck team shows some of the differences between the ways of executing ansible jobs from rundeck.

jseynaev-cisco commented 3 years ago

Ha! That is it indeed ... so easy, thx a lot for pointing me to that video