Erik Berg
30376f1ba5
Refactor use of include_vars
Use a first_found lookup instead of a with_first_found loop so that the 'paths' parameter can be used. This ensures that only vars from the role are included, and not vars from a parent calling role. This can happen when a parent role has a higher priority vars file available for inclusion than the role it calls. Also removing redundant vars line Change-Id: I33b8b555d7feab93ece13eef8df27a1717da7ea0
Team and repository tags
OpenStack-Ansible Adjutant
- tags
-
openstack, adjutant, cloud, ansible
- category
-
*nix
This Ansible role installs and configures OpenStack adjutant.
- This role will install the following Upstart services:
-
- adjutant-api
- adjutant-processor
Required Variables
adjutant_service_password
adjutant_rabbitmq_password
adjutant_galera_password
adjutant_galera_address
Example Playbook
- name: Install adjutant server
hosts: adjutant_all
user: root
roles:
- { role: "os_adjutant", tags: [ "os-adjutant" ] }
vars:
external_lb_vip_address: 172.16.24.1
internal_lb_vip_address: 192.168.0.1
adjutant_galera_address: "{{ internal_lb_vip_address }}"
adjutant_galera_password: "SuperSecretePassword1"
adjutant_service_password: "SuperSecretePassword2"
adjutant_rabbitmq_password: "SuperSecretePassword3"
Description
Languages
Jinja
39.9%
Python
31.8%
Shell
28.3%