Skip to content

Commit

Permalink
Add example playbook and inventory
Browse files Browse the repository at this point in the history
  • Loading branch information
ganto committed Aug 30, 2016
1 parent 11b727b commit 696675d
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions docs/getting-started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,27 @@ server configuration.
"/.well-known/acme-challenge/" => "/var/www/acme-challenges/",
)
Example playbook
----------------

A minimal playbook which would run the ``ganto.acme_tiny`` role to request a
SSL certificate would looke like this:

.. literalinclude:: playbooks/acme_tiny.yml
:language: yaml


Example inventory
-----------------

When using the playbook :ref:`above <Example playbook>`_ the host to run the
role has to be added to the ``[acme_tiny]`` host group in the Ansible
inventory::

[acme_tiny]
hostname

..
Local Variables:
mode: rst
Expand Down

0 comments on commit 696675d

Please sign in to comment.