This repository has been archived by the owner on May 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Morgan Aubert
committed
Mar 28, 2017
1 parent
214b485
commit 8aef6ca
Showing
3 changed files
with
65 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
####### | ||
Ansible | ||
####### | ||
|
||
LXDock provides built-in support for `Ansible`_ provisioning. | ||
|
||
.. _Ansible: https://www.ansible.com/ | ||
|
||
Requirements | ||
------------ | ||
|
||
`Ansible`_ v2.0+ | ||
|
||
Usage | ||
----- | ||
|
||
Just append an ``ansible`` provisioning operation to your LXDock file as follows: | ||
|
||
.. code-block:: yaml | ||
name: myproject | ||
image: ubuntu/xenial | ||
provisioning: | ||
- type: ansible | ||
playbook: deploy/site.yml | ||
Required options | ||
---------------- | ||
|
||
playbook | ||
======== | ||
|
||
The ``playbook`` option allows you to define the path to your Ansible playbook you want to run when | ||
your containers are provisioned. | ||
|
||
Optional options | ||
---------------- | ||
|
||
*Not yet!* | ||
|
||
.. _Ansible: https://www.ansible.com/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
############ | ||
Provisioners | ||
############ | ||
|
||
LXDock provides support for common provisioning operations. Provisioning operations can be easily | ||
defined in your LXDock file using the ``provisioning`` option: | ||
|
||
.. code-block:: yaml | ||
name: myproject | ||
image: ubuntu/xenial | ||
provisioning: | ||
- type: ansible | ||
playbook: deploy/site.yml | ||
Documentation sections for the supported provisioning tools or methods are listed here. | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
ansible |