summaryrefslogtreecommitdiffhomepage
path: root/ansible.html.markdown
diff options
context:
space:
mode:
authorsirkubax <muszynski@so1.net>2017-09-22 23:00:10 +0200
committersirkubax <muszynski@so1.net>2017-09-22 23:00:10 +0200
commit21fb697b8899ea62bf83f11928d6f91c98c62ad1 (patch)
tree653991c30feb165951aa2af185e98de07f2e9f80 /ansible.html.markdown
parent7abd3b5017df4c698b8bd33a6e472483decf73a2 (diff)
test markdown
Diffstat (limited to 'ansible.html.markdown')
-rw-r--r--ansible.html.markdown5
1 files changed, 3 insertions, 2 deletions
diff --git a/ansible.html.markdown b/ansible.html.markdown
index 6ef7bab7..72a91a5c 100644
--- a/ansible.html.markdown
+++ b/ansible.html.markdown
@@ -47,7 +47,7 @@ There are few commands you should know about
* and other!
### Module
-_*program (usaly python) that execute, do some work and return proper JSON output :)*_
+_*program (usally python) that execute, do some work and return proper JSON output :)*_
This *program* perform specialized task/action (like manage instances in the cloud, execute shell command).
@@ -64,7 +64,7 @@ $ ansible -m ping
$ ansible -m shell -a 'date; whoami' localhost #hostname_or_a_group_name
```
-* Module: `command` - executes a single command that will not be processed through the shell, so variables like $HOME will not work
+* Module: `command` - executes a single command that will not be processed through the shell, so variables like $HOME or operands like `|` will not work
```bash
@@ -72,6 +72,7 @@ $ ansible -m command -a 'date; whoami' # FAILURE
$ ansible -m command -a 'date'
$ ansible -m command -a 'whoami'
+$ ansible -m command -a 'echo $HOME'
```
* Module: `file` - performs file operations (stat, link, dir, ...)