Merge "Add missing dashboard policies"

This commit is contained in:
Jenkins 2017-02-23 13:44:10 +00:00 committed by Gerrit Code Review
commit ddaa3f70cf
2 changed files with 33 additions and 29 deletions

View File

@ -63,17 +63,26 @@
with_items: with_items:
- { name: "ceilometer", enabled: "{{ enable_ceilometer }}" } - { name: "ceilometer", enabled: "{{ enable_ceilometer }}" }
- { name: "cinder", enabled: "{{ enable_cinder }}" } - { name: "cinder", enabled: "{{ enable_cinder }}" }
- { name: "cloudkitty", enabled: "{{ enable_cloudkitty }}" } - { name: "cloudkitty", enabled: "{{ enable_horizon_cloudkitty }}" }
- { name: "freezer", enabled: "{{ enable_horizon_freezer }}" }
- { name: "glance", enabled: "{{ enable_glance }}" } - { name: "glance", enabled: "{{ enable_glance }}" }
- { name: "heat", enabled: "{{ enable_heat }}" } - { name: "heat", enabled: "{{ enable_heat }}" }
- { name: "ironic", enabled: "{{ enable_ironic }}" } - { name: "ironic", enabled: "{{ enable_horizon_ironic }}" }
- { name: "keystone", enabled: "{{ enable_keystone }}" } - { name: "keystone", enabled: "{{ enable_keystone }}" }
- { name: "manila", enabled: "{{ enable_manila }}" } - { name: "karbor", enabled: "{{ enable_horizon_karbor }}" }
- { name: "magnum", enabled: "{{ enable_horizon_magnum }}" }
- { name: "manila", enabled: "{{ enable_horizon_manila }}" }
- { name: "mistral", enabled: "{{ enable_horizon_mistral }}" }
- { name: "murano", enabled: "{{ enable_horizon_murano }}" }
- { name: "neutron", enabled: "{{ enable_neutron }}" } - { name: "neutron", enabled: "{{ enable_neutron }}" }
- { name: "nova", enabled: "{{ enable_nova }}" } - { name: "nova", enabled: "{{ enable_nova }}" }
- { name: "sahara", enabled: "{{ enable_sahara }}" } - { name: "sahara", enabled: "{{ enable_horizon_sahara }}" }
- { name: "senlin", enabled: "{{ enable_senlin }}" } - { name: "searchlight", enabled: "{{ enable_horizon_searchlight }}" }
- { name: "trove", enabled: "{{ enable_trove }}" } - { name: "senlin", enabled: "{{ enable_horizon_senlin }}" }
- { name: "solum", enabled: "{{ enable_horizon_solum }}" }
- { name: "tacker", enabled: "{{ enable_horizon_tacker }}" }
- { name: "trove", enabled: "{{ enable_horizon_trove }}" }
- { name: "watcher", enabled: "{{ enable_horizon_watcher }}" }
- name: Copying over existing policy.json - name: Copying over existing policy.json
vars: vars:
@ -85,23 +94,9 @@
when: when:
- horizon.enabled | bool - horizon.enabled | bool
- inventory_hostname in groups[horizon.group] - inventory_hostname in groups[horizon.group]
- item[0]['enabled'] | bool - item.item.enabled | bool
- item[1]['stat']['exists'] - item.stat.exists
with_together: with_items: "{{ custom_policy.results }}"
- [{ name: "ceilometer", enabled: "{{ enable_ceilometer }}" },
{ name: "cinder", enabled: "{{ enable_cinder }}" },
{ name: "cloudkitty", enabled: "{{ enable_cloudkitty }}" },
{ name: "glance", enabled: "{{ enable_glance }}" },
{ name: "heat", enabled: "{{ enable_heat }}" },
{ name: "ironic", enabled: "{{ enable_ironic }}" },
{ name: "keystone", enabled: "{{ enable_keystone }}" },
{ name: "manila", enabled: "{{ enable_manila }}" },
{ name: "neutron", enabled: "{{ enable_neutron }}" },
{ name: "nova", enabled: "{{ enable_nova }}" },
{ name: "sahara", enabled: "{{ enable_sahara }}" },
{ name: "senlin", enabled: "{{ enable_senlin }}" },
{ name: "trove", enabled: "{{ enable_trove }}" }]
- "{{ custom_policy.results }}"
- name: Check horizon container - name: Check horizon container
vars: vars:

View File

@ -4,17 +4,26 @@
{% set services = [ {% set services = [
( 'ceilometer', enable_ceilometer ), ( 'ceilometer', enable_ceilometer ),
( 'cinder', enable_cinder ), ( 'cinder', enable_cinder ),
( 'cloudkitty', enable_cloudkitty ), ( 'cloudkitty', enable_horizon_cloudkitty ),
( 'freezer', enable_horizon_freezer ),
( 'glance', enable_glance ), ( 'glance', enable_glance ),
( 'heat', enable_heat ), ( 'heat', enable_heat ),
( 'ironic', enable_ironic ), ( 'ironic', enable_horizon_ironic ),
( 'keystone', enable_keystone ), ( 'keystone', enable_keystone ),
( 'manila', enable_manila ), ( 'karbor', enable_horizon_karbor ),
( 'magnum', enable_horizon_magnum ),
( 'manila', enable_horizon_manila ),
( 'mistral', enable_horizon_mistral ),
( 'murano', enable_horizon_murano ),
( 'neutron', enable_neutron ), ( 'neutron', enable_neutron ),
( 'nova', enable_nova ), ( 'nova', enable_nova ),
( 'sahara', enable_sahara ), ( 'sahara', enable_horizon_sahara ),
( 'senlin', enable_senlin ), ( 'searchlight', enable_horizon_searchlight ),
( 'trove', enable_trove ) ( 'senlin', enable_horizon_senlin ),
( 'solum', enable_horizon_solum ),
( 'tacker', enable_horizon_tacker ),
( 'trove', enable_horizon_trove ),
( 'watcher', enable_horizon_watcher )
] %} ] %}
{ {