But how can we pass this values to bash script on remote server?

On Tue, 7 Feb 2023, 18:19 'Rowe, Walter P. (Fed)' via Ansible Project, <
[email protected]> wrote:

> Since you are submitting the job via Jenkins and web services you can use
> a survey on the ansible tower workflow to define variables. The web
> services call can supply their values. Ansible Tower will provide these
> variables to your playbook(s) as extra_vars. Read the ansible tower api
> docs to see how they pass JSON into the API with these key:value pairs of
> variables and their values.
>
> Walter
> --
> Walter Rowe, Division Chief
> Infrastructure Services, OISM
> Mobile: 202.355.4123
>
> On Feb 7, 2023, at 2:56 AM, Linux Study <[email protected]> wrote:
>
> We are  executing via jenkins and it will call ansible tower to run
> playbook...
>
> Regards,
> Abhijit
>
> On Tue, 7 Feb 2023, 01:03 'Rowe, Walter P. (Fed)' via Ansible Project, <
> [email protected]> wrote:
>
>> How is the ansible playbook being run? command line? ansible automation
>> platform?
>>
>> Walter
>> --
>> Walter Rowe, Division Chief
>> Infrastructure Services, OISM
>> Mobile: 202.355.4123
>>
>> On Feb 6, 2023, at 1:35 PM, Linux Study <[email protected]> wrote:
>>
>> Hi All,
>>
>> Is there way to pass user inputs to bash script via ansible?
>>
>>
>> Regards,
>> Abhi
>>
>> --
>> 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 [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/ansible-project/CAEcjLFzU8q%2BgQgGE9QJu6WkhVWsW_6EDNh2aQ%3DVaxq%2BO1cBybw%40mail.gmail.com
>> <https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fansible-project%2FCAEcjLFzU8q%252BgQgGE9QJu6WkhVWsW_6EDNh2aQ%253DVaxq%252BO1cBybw%2540mail.gmail.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=05%7C01%7Cwalter.rowe%40nist.gov%7Cc27640d6579e415700b908db08e0daa3%7C2ab5d82fd8fa4797a93e054655c61dec%7C1%7C0%7C638113534056656786%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=F7WOIHY3LBwQDquIAcTUUFx2iZYUDZSkuf7OOQrhld8%3D&reserved=0>
>> .
>>
>>
>>
>> --
>> 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 [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/ansible-project/DEFA92BC-5E3D-4AA9-A102-7EED0794DCA8%40nist.gov
>> <https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fansible-project%2FDEFA92BC-5E3D-4AA9-A102-7EED0794DCA8%2540nist.gov%3Futm_medium%3Demail%26utm_source%3Dfooter&data=05%7C01%7Cwalter.rowe%40nist.gov%7Cc27640d6579e415700b908db08e0daa3%7C2ab5d82fd8fa4797a93e054655c61dec%7C1%7C0%7C638113534056656786%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=ucrPI8ole5pkwc1PC2WqOcRsV%2BW6SuPOvqVpqtjfOAI%3D&reserved=0>
>> .
>>
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/CAEcjLFw%2BaB2Sm_LQ9DTc6Mqb-O_eznR00ZbvZrRPr_e9EoW4GQ%40mail.gmail.com
> <https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fansible-project%2FCAEcjLFw%252BaB2Sm_LQ9DTc6Mqb-O_eznR00ZbvZrRPr_e9EoW4GQ%2540mail.gmail.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=05%7C01%7Cwalter.rowe%40nist.gov%7Cc27640d6579e415700b908db08e0daa3%7C2ab5d82fd8fa4797a93e054655c61dec%7C1%7C0%7C638113534056656786%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=fcUV0zBVqwttefOHfjHIHyji8qkvl2m3cepGnIGpKTE%3D&reserved=0>
> .
>
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/E9B44F7C-58A5-496F-844C-60CDBC6B1A06%40nist.gov
> <https://groups.google.com/d/msgid/ansible-project/E9B44F7C-58A5-496F-844C-60CDBC6B1A06%40nist.gov?utm_medium=email&utm_source=footer>
> .
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAEcjLFxCyAp3u%2BpjWgn8Q2vBzbArp0-KCf8%3D_kdaTrRnF-kaaw%40mail.gmail.com.

Reply via email to