add some lines

This commit is contained in:
sirkubax 2017-08-15 21:48:01 +02:00
parent bd05f75163
commit 3069c1b945

View File

@ -57,14 +57,18 @@ Execution of a single module is called a `task`
Example of a Task run in CLI:
###### Run a ansible module
```
ansible -m shell -a 'date; whoami'
```
as a contrast - please note a module `command` that allows to execute a single command only
```
ansible -m command -a 'date; whoami' # FAILURE
ansible -m command -a 'date'
ansible -m command -a 'whoami'
```
##### Playbook