Ansible Module command: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * Ansible Concepts")
 
No edit summary
Line 1: Line 1:
=External=
*
=Internal=
=Internal=


* [[Ansible_Concepts#shell|Ansible Concepts]]
* [[Ansible_Concepts#shell|Ansible Concepts]]
=Overview=
The command module takes the command name followed by a list of space-delimited arguments.
A command will NOT be interpreted by a shell, so variables like $HOME and operations like "<", ">", "|", ";" and "&" will not work. Use the [[Ansible Module shell|shelll]] module for that.

Revision as of 18:59, 25 May 2017

External

Internal

Overview

The command module takes the command name followed by a list of space-delimited arguments.

A command will NOT be interpreted by a shell, so variables like $HOME and operations like "<", ">", "|", ";" and "&" will not work. Use the shelll module for that.