How can we execute shell script passing parameters using ansible?

execute <param1> <param2> <param3>

Can we use shell module and pass parameters?What is the best approach?
- name: Execute script
   shell: a b c

Please suggest.


You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
To view this discussion on the web visit
For more options, visit

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 2 | next ›
Discussion Overview
groupansible-project @
postedDec 5, '14 at 12:36a
activeDec 5, '14 at 2:13a

2 users in discussion

Vinay Bhasker: 1 post James Cammarata: 1 post



site design / logo © 2022 Grokbase