0

I am running a script in ansible playbook and want to pass arguments to a script. One of the argument is like

if {application}==tc143 then {isLive}==Yes or {isLive}=={isLive}

This is how my playbook looks:

name: run script 
shell: sh deploy.sh "{{ application }}" "{{ deployer }}" "{{ recipients_list }}"  "{{ isLive }}"

How can I write it in the playbook?

Priya
  • 173
  • 6
  • 18

0 Answers0