Ansible# 3 - Run Linux Commands on Remote Host using Ansible Ad-Hoc Commmand Modules command & shell
HTML-код
- Опубликовано: 28 сен 2024
- Jump into this lab exercise with me to understand:
- how to run the Ansible Ad-Hoc Command
- how to run a Linux command or a system command on remote hosts
- how to use the Ansible Modules called command and shell to execute commands
- when to use the command module
- when to use the shell module
- how to combine multiple commands using the shell module
- how to use piping or the pipe operator "|" and other shell related stuffs such as ";" and angle brackets for I/O redirections, and shell variable - Наука
Why?