
Unlike the Ansible apt module, the Ansible pip module does not recognise a with_items list and process all the items at once. To optimise the pip install tasks, this patch replaces the use of with_items with a join filter so that the pip install task does an install with all the packages in a list, ensuring that the execution is one action instead of many. Change-Id: I4ce24c9d557d173a452ee74a619c771b2bed5af8
OpenStack-Ansible Designate
- tags
-
openstack, designate, cloud, ansible
- category
-
*nix
This Ansible role installs and configures OpenStack Designate.
- This role will install the following services:
-
- designate-api
- designate-central
- designate-pool-manager
- designate-zone-manager
- designate-mdns
- designate-sink
Default Variables
../../defaults/main.yml
Required Variables
designate_galera_address
designate_container_mysql_password
designate_pool_manager_container_mysql_password
designate_service_password
designate_rabbitmq_password
Example Playbook
- name: Install Designate Server
hosts: designate_all
user: root
roles:
- { role: "os_designate", tags: [ "os-designate" ] }
vars:
external_lb_vip_address: 172.16.24.1
internal_lb_vip_address: 192.168.0.1
designate_galera_address: "{{ internal_lb_vip_address }}"
designate_container_mysql_password: "SuperSecretePassword1"
designate_pool_manager_container_mysql_password: "SuperSecretePassword2"
designate_service_password: "SuperSecretePassword3"
designate_rabbitmq_password: "SuperSecretePassword4"
Tags
This role supports two tags: designate-install
and
designate-config
The designate-install
tag can be used to install and
upgrade.
The designate-config
tag can be used to maintain
configuration of the service.
Description
Languages
Jinja
62.4%
Python
27%
Shell
10.6%