[DOCS] Use new documenation tree structure
The commit changes the heat doc tree to the new structure we are adopting for each role Change-Id: I0ea955e3085e965c003af046684bc370b3315b82 Signed-off-by: alextricity25 <miguel.cantu@rackspace.com>
This commit is contained in:
parent
ffce76c2fa
commit
6043546703
59
README.rst
59
README.rst
@ -1,5 +1,6 @@
|
|||||||
|
======================
|
||||||
OpenStack-Ansible Heat
|
OpenStack-Ansible Heat
|
||||||
######################
|
======================
|
||||||
|
|
||||||
Ansible role to install OpenStack Heat.
|
Ansible role to install OpenStack Heat.
|
||||||
|
|
||||||
@ -8,59 +9,3 @@ This role will install:
|
|||||||
* heat-api-cfn
|
* heat-api-cfn
|
||||||
* heat-api-cloudwatch
|
* heat-api-cloudwatch
|
||||||
* heat-engine
|
* heat-engine
|
||||||
|
|
||||||
=================
|
|
||||||
|
|
||||||
.. literalinclude:: ../../defaults/main.yml
|
|
||||||
:language: yaml
|
|
||||||
:start-after: under the License.
|
|
||||||
|
|
||||||
Required Variables
|
|
||||||
==================
|
|
||||||
|
|
||||||
To use this role, define the following variables:
|
|
||||||
|
|
||||||
.. code-block:: yaml
|
|
||||||
|
|
||||||
# password of the keystone service user for heat
|
|
||||||
heat_service_password: "secrete"
|
|
||||||
# password of the admin user for the keystone heat domain
|
|
||||||
heat_stack_domain_admin_password: "secrete"
|
|
||||||
# key used for encrypting credentials stored in the heat db
|
|
||||||
heat_auth_encryption_key: "32characterslongboguskeyvaluefoo"
|
|
||||||
# password for heat database
|
|
||||||
heat_container_mysql_password: "secrete"
|
|
||||||
# password for heat RabbitMQ vhost
|
|
||||||
heat_rabbitmq_password: "secrete"
|
|
||||||
# comma-separated list of RabbitMQ hosts
|
|
||||||
rabbitmq_servers: 10.100.100.101
|
|
||||||
# Keystone admin user for service, domain, project, role creation
|
|
||||||
keystone_admin_user_name: "admin"
|
|
||||||
# Keystone admin password for service, domain, project, role creation
|
|
||||||
keystone_auth_admin_password: "secrete"
|
|
||||||
|
|
||||||
Example Playbook
|
|
||||||
================
|
|
||||||
.. code-block:: yaml
|
|
||||||
|
|
||||||
- name: Install heat server
|
|
||||||
hosts: heat_all
|
|
||||||
user: root
|
|
||||||
roles:
|
|
||||||
- { role: "os_heat", tags: [ "os-heat" ] }
|
|
||||||
vars:
|
|
||||||
external_lb_vip_address: 172.16.24.1
|
|
||||||
internal_lb_vip_address: 192.168.0.1
|
|
||||||
heat_galera_address: "{{ internal_lb_vip_address }}"
|
|
||||||
keystone_admin_user_name: admin
|
|
||||||
keystone_admin_tenant_name: admin
|
|
||||||
|
|
||||||
Tags
|
|
||||||
====
|
|
||||||
|
|
||||||
This role supports two tags: ``heat-install`` and ``heat-config``
|
|
||||||
|
|
||||||
The ``heat-install`` tag can be used to install and upgrade.
|
|
||||||
|
|
||||||
The ``heat-config`` tag can be used to manage configuration.
|
|
||||||
|
|
||||||
|
@ -1 +1,53 @@
|
|||||||
.. include:: ../../README.rst
|
=================
|
||||||
|
Table of Contents
|
||||||
|
=================
|
||||||
|
|
||||||
|
.. toctree::
|
||||||
|
:maxdepth: 2
|
||||||
|
|
||||||
|
overview.rst
|
||||||
|
|
||||||
|
Required Variables
|
||||||
|
~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
To use this role, define the following variables:
|
||||||
|
|
||||||
|
.. code-block:: yaml
|
||||||
|
|
||||||
|
# password of the keystone service user for heat
|
||||||
|
heat_service_password: "secrete"
|
||||||
|
# password of the admin user for the keystone heat domain
|
||||||
|
heat_stack_domain_admin_password: "secrete"
|
||||||
|
# key used for encrypting credentials stored in the heat db
|
||||||
|
heat_auth_encryption_key: "32characterslongboguskeyvaluefoo"
|
||||||
|
# password for heat database
|
||||||
|
heat_container_mysql_password: "secrete"
|
||||||
|
# password for heat RabbitMQ vhost
|
||||||
|
heat_rabbitmq_password: "secrete"
|
||||||
|
# comma-separated list of RabbitMQ hosts
|
||||||
|
rabbitmq_servers: 10.100.100.101
|
||||||
|
# Keystone admin user for service, domain, project, role creation
|
||||||
|
keystone_admin_user_name: "admin"
|
||||||
|
# Keystone admin password for service, domain, project, role creation
|
||||||
|
keystone_auth_admin_password: "secrete"
|
||||||
|
|
||||||
|
Default variables
|
||||||
|
~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
.. literalinclude:: ../../defaults/main.yml
|
||||||
|
:language: yaml
|
||||||
|
:start-after: under the License.
|
||||||
|
|
||||||
|
Example playbook
|
||||||
|
~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
.. literalinclude:: ../../examples/playbook.yml
|
||||||
|
:language: yaml
|
||||||
|
|
||||||
|
Tags
|
||||||
|
~~~~
|
||||||
|
|
||||||
|
This role supports two tags: ``heat-install`` and
|
||||||
|
``heat-config``. The ``heat-install`` tag can be used to install
|
||||||
|
and upgrade. The ``heat-config`` tag can be used to maintain the
|
||||||
|
configuration of the service.
|
||||||
|
11
examples/playbook.yml
Normal file
11
examples/playbook.yml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
- name: Install heat server
|
||||||
|
hosts: heat_all
|
||||||
|
user: root
|
||||||
|
roles:
|
||||||
|
- { role: "os_heat", tags: [ "os-heat" ] }
|
||||||
|
vars:
|
||||||
|
external_lb_vip_address: 172.16.24.1
|
||||||
|
internal_lb_vip_address: 192.168.0.1
|
||||||
|
heat_galera_address: "{{ internal_lb_vip_address }}"
|
||||||
|
keystone_admin_user_name: admin
|
||||||
|
keystone_admin_tenant_name: admin
|
Loading…
x
Reference in New Issue
Block a user