[DOCS] Update repo server role docs

Change-Id: I59f43bfe10241a69d4fb15d8f652f2241fca728d
This commit is contained in:
Alexandra 2016-08-11 15:22:30 -05:00 committed by Alexandra Settle
parent 36351e9ce6
commit e4af82dfe4
3 changed files with 20 additions and 11 deletions

View File

@ -1,16 +1,9 @@
=============================
OpenStack-Ansible Repo Server
#############################
=============================
:tags: openstack, repo, server, cloud, ansible
:category: \*nix
Ansible role that deploys a repository server for python packages and git
sources.
.. code-block:: yaml
- name: Setup repo servers
hosts: repo_all
user: root
roles:
- { role: "repo_server", tags: [ "repo-server" ] }

View File

@ -1 +1,12 @@
.. include:: ../../README.rst
=============================
OpenStack-Ansible Repo Server
=============================
Example playbooks
~~~~~~~~~~~~~~~~~
Example playbook
~~~~~~~~~~~~~~~~
.. literalinclude:: ../../examples/playbook.yml
:language: yaml

5
examples/playbook.yml Normal file
View File

@ -0,0 +1,5 @@
- name: Setup repo servers
hosts: repo_all
user: root
roles:
- { role: "repo_server", tags: [ "repo-server" ] }