summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorsirkubax <muszynski@so1.net>2017-08-15 21:48:01 +0200
committersirkubax <muszynski@so1.net>2017-08-15 21:48:01 +0200
commit3069c1b9451768369cee30ea22c3e150dafef294 (patch)
tree72a1cc6701ae0a3534c2c4fb8d2a8ad105669846
parentbd05f751631d71d823a197cc5a506b05a60be849 (diff)
add some lines
-rw-r--r--ansible.html.markdown4
1 files changed, 4 insertions, 0 deletions
diff --git a/ansible.html.markdown b/ansible.html.markdown
index 24821862..37c3e299 100644
--- a/ansible.html.markdown
+++ b/ansible.html.markdown
@@ -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