Add PKI role to local a-r-r

Change-Id: Ia149dce32077cfa9fdf88afcc122d34199477c75
This commit is contained in:
Dmitriy Rabotyagov 2021-07-01 21:34:21 +03:00
parent 1c06fe38f0
commit 32cea21c03
4 changed files with 7 additions and 1 deletions

View File

@ -17,6 +17,7 @@ galaxy_info:
description: This role installs and configures the qpid-dispatch-router description: This role installs and configures the qpid-dispatch-router
license: Apache license: Apache
min_ansible_version: 2.3 min_ansible_version: 2.3
role_name: qdrouterd
platforms: platforms:
- name: EL - name: EL
versions: versions:

View File

@ -55,7 +55,7 @@ listener {
{% for router in groups['qdrouterd_all'] %} {% for router in groups['qdrouterd_all'] %}
{% if inventory_hostname < router %} {% if inventory_hostname < router %}
connector { connector {
host: {{ hostvars[router]['ansible_eth0']['ipv4']['address'] }} host: {{ hostvars[router]['management_address'] }}
role: inter-router role: inter-router
port: {{ qdrouterd_irl_port_plain }} port: {{ qdrouterd_irl_port_plain }}
} }

View File

@ -15,3 +15,7 @@
src: https://opendev.org/openstack/openstack-ansible-lxc_container_create src: https://opendev.org/openstack/openstack-ansible-lxc_container_create
scm: git scm: git
version: master version: master
- name: pki
src: https://opendev.org/openstack/ansible-role-pki
scm: git
version: master

View File

@ -21,5 +21,6 @@ container_networks:
netmask: "255.255.255.0" netmask: "255.255.255.0"
type: "veth" type: "veth"
physical_host: localhost physical_host: localhost
management_address: "{{ ansible_host }}"
properties: properties:
service_name: "{{ inventory_hostname }}" service_name: "{{ inventory_hostname }}"