Examples of Ansible execution modules

From wikieduonline
(Redirected from Ansible -m shell)
Jump to navigation Jump to search


Errors[edit]

ansible -m shell yourhost -a uptime
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'
[WARNING]: Could not match supplied host pattern, ignoring: yourhost

Example[edit]


Related terms[edit]

See also[edit]

Advertising: