[DOCS] Update repo server role docs
Change-Id: I59f43bfe10241a69d4fb15d8f652f2241fca728d
This commit is contained in:
parent
36351e9ce6
commit
e4af82dfe4
13
README.rst
13
README.rst
@ -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" ] }
|
||||
|
||||
|
@ -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
5
examples/playbook.yml
Normal file
@ -0,0 +1,5 @@
|
||||
- name: Setup repo servers
|
||||
hosts: repo_all
|
||||
user: root
|
||||
roles:
|
||||
- { role: "repo_server", tags: [ "repo-server" ] }
|
Loading…
Reference in New Issue
Block a user