j
jordan chris

Posted on 24th April 2024|68 views

0
votes

Ansible Run Shell Script

How to execute shell script in Ansible?

Answers
P
chris bons

Posted on 24th April 2024

To execute the shell script, we perform the following steps:

  1. Shell module takes the command name and a list of space-delimited arguments.
  2. We can use the free form command or “cmd” parameter.
  3. It executes the commands in a shell “/bin/sh”.

Write your answer

STILL GOT QUERIES?

Get a Live FREE Demo
  • Explore the trending and niche courses and learning maps
  • Learn about tuition fee, payment plans, and scholarships
  • Get access to webinars and self-paced learning videos