mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-05-22 06:10:58 +00:00
test markdown
This commit is contained in:
parent
7b6f0757c2
commit
69c40ee1a2
@ -79,7 +79,7 @@ $ ansible -m command -a 'echo $HOME'
|
|||||||
* Module: `raw` - executes a low-down and dirty SSH command, not going through the module subsystem (usefull to install python2.7)
|
* Module: `raw` - executes a low-down and dirty SSH command, not going through the module subsystem (usefull to install python2.7)
|
||||||
|
|
||||||
|
|
||||||
### Ansible - naming and basic concept
|
### Ansible - naming and quick intro
|
||||||
|
|
||||||
#### Inventory
|
#### Inventory
|
||||||
Inventory is a set of an objects or hosts, against which we are executing our playbooks or single tasks via shell commands
|
Inventory is a set of an objects or hosts, against which we are executing our playbooks or single tasks via shell commands
|
||||||
@ -96,11 +96,10 @@ hostB.localdomain
|
|||||||
* [Additional Reading.](http://docs.ansible.com/ansible/latest/intro_inventory.html)
|
* [Additional Reading.](http://docs.ansible.com/ansible/latest/intro_inventory.html)
|
||||||
|
|
||||||
#### Task
|
#### Task
|
||||||
Execution of a single module is called a `task`
|
Execution of a single Ansible **module** is called a **task**
|
||||||
|
|
||||||
The simplest module is called `ping` as you could see above
|
The simplest module is called `ping` as you could see above
|
||||||
|
Another example of the module that allow you to execute command remotly on multiple resources is called shell. It is the same as you would execute command remotely over ssh.
|
||||||
Another example of the module that allow you to execute command remotly on multiple resources is called shell. It is the same as you would execute command remotely over ssh.
|
|
||||||
|
|
||||||
Example of a Task run in CLI:
|
Example of a Task run in CLI:
|
||||||
###### Run a ansible module
|
###### Run a ansible module
|
||||||
|
Loading…
Reference in New Issue
Block a user