Files
kayobe/ansible/roles/kolla-openstack/molecule/enable-everything/molecule.yml
Ross Martyn d8ee0fa027 Multiple updates for Kayobe
---

1. Gather facts for localhost in kolla-ansible.yml
2. Don't include unconfigured networks in network_interfaces
3. Added Keystone configuration extra config merge

---

1. Facts are necessary for the kolla-ansible role,
which references the ansible_user_uid fact

2. It is possible to skip configuring a network,
by setting its name to None

This is done in networks.yml as follows:

admin_oc_net_name:

Currently, these networks may still be included in the 'network_interfaces'
list for each host, despite the fact that they are not in use.

A classic example is when ironic is not enabled, it is currently still
necessary to define provisioning and cleaning networks.

This change avoids including any networks that have their name set to None
in network_interfaces.

3. Added support for Keystone custom configuration

Added tests and documentation to add support for keystone extra configuration

Co-Authored-By: Mark Goddard <mark@stackhpc.com

Change-Id: Iaa304221b8093ac71f9cdbb23edc84d1517578da
2019-05-20 15:30:07 +01:00

111 lines
2.9 KiB
YAML

---
dependency:
name: galaxy
driver:
name: docker
lint:
name: yamllint
platforms:
- name: centos-7
image: centos:7
provisioner:
name: ansible
inventory:
group_vars:
all:
kolla_extra_config_path:
kolla_enable_ceph: true
kolla_extra_ceph: |
[extra-ceph.conf]
foo=bar
kolla_enable_cinder: true
kolla_extra_cinder: |
[extra-cinder.conf]
foo=bar
kolla_enable_designate: true
kolla_extra_designate: |
[extra-designate.conf]
foo=bar
kolla_enable_glance: true
kolla_extra_glance: |
[extra-glance.conf]
foo=bar
kolla_enable_grafana: true
kolla_extra_grafana: |
[extra-grafana.ini]
foo=bar
kolla_enable_haproxy: true
kolla_enable_heat: true
kolla_extra_heat: |
[extra-heat.conf]
foo=bar
kolla_enable_horizon: true
kolla_enable_influxdb: true
kolla_enable_ironic: true
kolla_extra_ironic: |
[extra-ironic.conf]
foo=bar
kolla_extra_inspector: |
[extra-ironic-inspector.conf]
foo=bar
kolla_inspector_ipa_kernel_path: ${MOLECULE_TEMP_PATH:-/tmp}/ironic-agent.kernel
kolla_inspector_ipa_ramdisk_path: ${MOLECULE_TEMP_PATH:-/tmp}/ironic-agent.initramfs
kolla_enable_kafka: true
kolla_extra_kafka: |
[extra-kafka.server.properties]
foo=bar
kolla_enable_keystone: true
kolla_extra_keystone: |
[extra-keystone.conf]
foo=bar
kolla_enable_magnum: true
kolla_extra_magnum: |
[extra-magnum.conf]
foo=bar
kolla_enable_manila: true
kolla_extra_manila: |
[extra-manila.conf]
foo=bar
kolla_enable_mariadb: true
kolla_extra_mariadb: |
[extra-galera.cnf]
foo=bar
kolla_enable_monasca: true
kolla_enable_murano: true
kolla_extra_murano: |
[extra-murano.conf]
foo=bar
kolla_enable_neutron: true
kolla_extra_neutron: |
[extra-neutron.conf]
foo=bar
kolla_extra_neutron_ml2: |
[extra-ml2_conf.ini]
foo=bar
kolla_enable_nova: true
kolla_extra_nova: |
[extra-nova.conf]
foo=bar
kolla_enable_octavia: true
kolla_extra_octavia: |
[extra-octavia.conf]
foo=bar
kolla_enable_sahara: true
kolla_extra_sahara: |
[extra-sahara.conf]
foo=bar
kolla_enable_swift: true
kolla_enable_storm: true
kolla_enable_zookeeper: true
kolla_extra_zookeeper: |
[extra-zookeeper.cfg]
foo=bar
lint:
name: ansible-lint
scenario:
name: enable-everything
verifier:
name: testinfra
lint:
name: flake8