mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-11-23 06:03:07 +03:00
test markdown
This commit is contained in:
parent
e946c383fd
commit
a6ea9118be
@ -99,6 +99,7 @@ hostB.localdomain
|
||||
Execution of a single Ansible **module** is called a **task**
|
||||
|
||||
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.
|
||||
|
||||
Example of a Task run in CLI:
|
||||
@ -106,14 +107,12 @@ Example of a Task run in CLI:
|
||||
|
||||
|
||||
##### Playbook
|
||||
Execution plan written in a form of script file(s) is called `playbook`.--
|
||||
|
||||
Execution plan written in a form of script file(s) is called `playbook`.
|
||||
Playbook consist of multiple elements
|
||||
* a list (or group) of hosts that 'the play' is executed against
|
||||
* `task(s)` or `role(s)` that are going to be executed
|
||||
* multiple optional settings (like default variables, and way more)
|
||||
Playbook script language is YAML--
|
||||
|
||||
Playbook script language is YAML
|
||||
|
||||
You can think that playbook is very advanced CLI script that you are executing.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user