From 17bce6b224ba89b80ad2f5d621b64548f3b1c458 Mon Sep 17 00:00:00 2001 From: Donovan Francesco Date: Mon, 8 Aug 2016 20:47:59 +0200 Subject: [PATCH] Updating magnum README.rst Change-Id: I586236b407c1b1b9e66b201fbaa4f460b08feb8f Implements: blueprint role-magnum --- README.rst | 46 ++++++++++++++++++++++++++++++++++------------ 1 file changed, 34 insertions(+), 12 deletions(-) diff --git a/README.rst b/README.rst index 0d06667..3467fe9 100644 --- a/README.rst +++ b/README.rst @@ -1,12 +1,8 @@ OpenStack-Ansible Magnum ######################## -:tags: openstack, magnum, cloud, ansible -:category: \*nix -This Ansible role installs and configures OpenStack Magnum. - -Default Variables -================= +Ansible role that installs and configures OpenStack Magnum. Magnum is +installed behind the Apache webserver listening on port 9511 by default. .. literalinclude:: ../../defaults/main.yml :language: yaml @@ -15,9 +11,31 @@ Default Variables Required Variables ================== -magnum_service_password -magnum_galera_password -magnum_rabbitmq_password +This list is not exhaustive at present. See role internals for further +details. + +.. code-block:: yaml + + # Magnum TCP listening port + magnum_service_port: 9511 + + # Magnum service protocol http or https + magnum_service_proto: http + + # Magnum Galera address of internal load balancer + magnum_galera_address: "{{ internal_lb_vip_address }}" + + # Magnum Galera database name + magnum_galera_database_name: magnum_service + + # Magnum Galera username + magnum_galera_user: magnum + + # Magnum rabbit userid + magnum_rabbitmq_userid: magnum + + # Magnum rabbit vhost + magnum_rabbitmq_vhost: /magnum Example Playbook ================ @@ -28,9 +46,13 @@ Example Playbook hosts: magnum_all user: root roles: - - role: "os_magnum" + - { role: "os_magnum", tags: [ "os-magnum" ] } vars: - external_lb_vip_address: 172.16.24.1 - internal_lb_vip_address: 192.168.0.1 magnum_galera_address: "{{ internal_lb_vip_address }}" + magnum_galera_database_name: magnum_service + magnum_galera_user: magnum + magnum_rabbitmq_userid: magnum + magnum_rabbitmq_vhost: /magnum + ansible_hostname: "{{ container_name }}" + is_metal: "{{ properties.is_metal|default(false) }}"