| |
@@ -130,11 +130,21 @@
|
| |
* `shell` ... execute arbitratry shell commands to set up the system
|
| |
* `ansible` ... apply ansible playbook to get the desired final state
|
| |
|
| |
- Example config:
|
| |
+ Example prepare config using the `ansible` implementation:
|
| |
|
| |
prepare:
|
| |
how: ansible
|
| |
- playbook: setup.yml
|
| |
+ roles:
|
| |
+ - nginxinc.nginx
|
| |
+ playbooks:
|
| |
+ - common.yml
|
| |
+ - rhel7.yml
|
| |
+
|
| |
+ One or more playbooks can be provided as a list under the `playbooks` attribute.
|
| |
+ Each of them will be applied using `ansible-playbook` in the given order.
|
| |
+ Optional attribute `roles` can be used to enable additional roles.
|
| |
+ Role can be either an ansible galaxy role name, git url or a path to file with detailed requirements.
|
| |
+
|
| |
|
| |
### Execute
|
| |
|
| |
Include a full example and description for the ansible prepare
implementation. This resolves #16.