command

8 Ansible tutorials tagged “command”. Working examples covering automation, configuration management, and DevOps workflows.

Ansible shell vs command vs raw — Execute Commands the Right Way

playbooks · 5

Compare Ansible shell, command, and raw modules. Learn when to use each, security implications, and best practices for running commands on remote hosts.

beginner

Ansible shell — Remote Shell Commands

playbooks · 6

Use the Ansible shell module to run shell commands with pipes, redirects, and environment variables. When to use shell vs command.

beginner

Ansible shell vs command Module — When to Use Each

playbooks · 6

Understand the difference between Ansible shell and command modules. When to use pipes, redirects, and environment variables vs simple commands. Examples.

beginner

Ansible Command vs Shell Modules: Key Differences Explained

playbooks · 5

Explore the differences between Ansible's command and shell modules. Learn when to use each, with practical examples and code Playbooknstrations.

Advanced

Ansible win_command vs win_shell

playbooks · 5

win_command runs executables directly; win_shell runs PowerShell or cmd scripts. When to use each Ansible Windows module with practical examples.

Beginner

Ansible shell vs command Module: When to Use Each

modules · 3

Ansible shell vs command module compared — when to use pipes, redirects, and environment variables. Learn best practices and why command is preferred over.

Advanced

Ansible troubleshooting — Error 305: command-instead-of-shell

playbooks · 6

Fix Ansible Lint Error 305 command-instead-of-shell — when to use command vs shell and why it matters for security and performance.

Beginner

Ansible postgresql_query — Run SQL

playbooks · 4

Execute SQL queries on PostgreSQL with ansible community.postgresql.postgresql_query. Select, insert, update, and manage databases with playbooks.

Beginner