diff options
author | sirkubax <muszynski@so1.net> | 2017-09-06 23:34:29 +0200 |
---|---|---|
committer | sirkubax <muszynski@so1.net> | 2017-09-06 23:34:29 +0200 |
commit | 32b2f01d3652274f27dee4cf3d5957ac6aa7e95b (patch) | |
tree | b128fb95756f7d496f88416f35fcc51621a73294 | |
parent | fa55726a683cf5bdee1d5e262f60df9042db3db6 (diff) |
continue
-rw-r--r-- | ansible.html.markdown | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ansible.html.markdown b/ansible.html.markdown index 3234fe5c..c1cddd35 100644 --- a/ansible.html.markdown +++ b/ansible.html.markdown @@ -54,6 +54,7 @@ $ ansible -m command -a 'whoami' A common way to execute tasks is called `playbook`. You have to define a list (or group) of hosts that is executed against, some `task(s)` or `role(s)` that are going to be executed. There are also multiple optional settings (like default variables, and way more). +Playbook script language is YAML You can think that it is very advanced CLI script that you are executing. @@ -118,6 +119,7 @@ pre_tasks: shell: echo 'this task is the last, but would be executed before roles, and before tasks' ``` +Role directory structure: ``` roles/ some_role/ |