How can we execute shell script passing parameters using ansible?

Eg:
execute test.sh <param1> <param2> <param3>
==

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

Please suggest.

-Vinay


--
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 ansible-project+unsubscribe@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/11383542-041d-48ab-95d3-e261dcfda40d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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
posts2
users2

2 users in discussion

Vinay Bhasker: 1 post James Cammarata: 1 post

People

Translate

site design / logo © 2022 Grokbase