![Dmitriy Rabotyagov](/assets/img/avatar_default.png)
We use the same condition, which defines against what host some "service" tasks should run against, several times. It's hard to keep it the same across the role and ansible spending additional resources to evaluate it each time, so it's simpler and better for the maintenance to set a boolean variable which will say for all tasks, that we want to run only against signle host, if they should run or not now. Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/756310 Change-Id: I41d331fdb5ee95e0c9b9edbb3c7ee19ccd40d98c
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%