Thanks.
Let me try to write it and will paste here for your review.
Regards
Amit
On Mon, Dec 9, 2019, 9:16 AM Dick Visser wrote:
> You can use any variables that you use in your playbook to construct
> the actual command:
>
> - name: return motd to registered var
> command: /opt/scripts/hack
You can use any variables that you use in your playbook to construct
the actual command:
- name: return motd to registered var
command: /opt/scripts/hackme.sh --license {{ license }} --strategy
{{ strategy }}
etc etc
On Mon, 9 Dec 2019 at 13:47, Amit Kulkarni wrote:
>
> Hello Dick,
>
> Thank
Hello Dick,
Thanks for the response.
Any code snippet that you can share that will be of great help.
Actually I am working Microstrategy build automation, where we wanted to
trigger the shell script and pass dynamic parameters (e.g. License key etc)
and also need to send the email to DL in case
You can use variable and jinja templating logic in your script task.
If you need more concrete help, provide more details.
Dick
On Mon, 9 Dec 2019 at 00:21, Amit Kulkarni wrote:
>
> Hello All,
>
> I wanted to pass dynamic parameters to shell script in playbook.
>
> I am using script module to tr
On Mon, 9 Dec 2019 at 04:05, anil gouranna wrote:
>
> Hey Amit,
>
> Thank you for reaching out to me. I am also new to the Ansible world. Please
> check with someone who is more knowledgable.
He actually did by sending it to this list.
--
You received this message because you are subscribed to
Hey Amit,
Thank you for reaching out to me. I am also new to the Ansible world.
Please check with someone who is more knowledgable.
On Mon, Dec 9, 2019 at 4:51 AM Amit Kulkarni wrote:
> Hello All,
>
> I wanted to pass dynamic parameters to shell script in playbook.
>
> I am using script module
Hello All,
I wanted to pass dynamic parameters to shell script in playbook.
I am using script module to trigger, any pointers on this will be really
helpful.
Regards
Amit
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from