summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorsirkubax <muszynski@so1.net>2017-09-22 22:48:55 +0200
committersirkubax <muszynski@so1.net>2017-09-22 22:48:55 +0200
commit8a1139dee670362ab4186cb9866d746f36d2d7e4 (patch)
treeb1d78f9b0afe4dbd8cd8b679198a8212213a31ea
parent7ba7ab471e340803e078a6cae0e24c7615dde0a2 (diff)
test markdown
-rw-r--r--ansible.html.markdown9
1 files changed, 4 insertions, 5 deletions
diff --git a/ansible.html.markdown b/ansible.html.markdown
index ea7bb47a..13afeb3b 100644
--- a/ansible.html.markdown
+++ b/ansible.html.markdown
@@ -26,7 +26,7 @@ $ apt-get install ansible
* Appendix A - How do I install ansible
* [Additional Reading.](http://docs.ansible.com/ansible/latest/intro_installation.html)
-### Basic ansible commands (shell execution)
+### Your first ansible command (shell execution)
```bash
# This command ping the localhost (defined in default inventory /etc/ansible/hosts)
$ ansible -m ping localhost
@@ -36,7 +36,7 @@ localhost | SUCCESS => {
}
```
-### Commands
+### Shell Commands
There are few commands you should know about
* `ansible` (to run modules in CLI)
@@ -45,8 +45,7 @@ There are few commands you should know about
* `ansible-galaxy` (to install roles from github/galaxy)
* and other!
-
-#### Module
+### Module
_*program (usaly 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).
@@ -57,7 +56,7 @@ Example of modules:
* Module: `ping` - the simplest module that is usefull to verify host connectivity
* Module: `shell` - a module that executes shell command on a specified host(s).
-Example of usage - `ping`, `shell`
+Example of execution - `ping`, `shell`
```bash
$ ansible -m ping