Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Commit

Permalink
Added basic doc for provisioners
Browse files Browse the repository at this point in the history
  • Loading branch information
Morgan Aubert committed Mar 28, 2017
1 parent 214b485 commit 8aef6ca
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Welcome to LXDock's documentation!
usage/index
cli/index
conf
provisioners/index
glossary
contributing
release_notes/index
Expand Down
42 changes: 42 additions & 0 deletions docs/provisioners/ansible.rst
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/
22 changes: 22 additions & 0 deletions docs/provisioners/index.rst
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

0 comments on commit 8aef6ca

Please sign in to comment.