Disable unneeded fact gathering
We explicitly gather facts for all nodes up front in the playbook, so setup tasks for all other plays are unnecessary noise. Change-Id: I4bc152288752da780b5cb447b4ad3f7d49390dee
This commit is contained in:
parent
7bf0e3b083
commit
c62aae6f80
@ -48,6 +48,7 @@
|
|||||||
tags: always
|
tags: always
|
||||||
|
|
||||||
- name: Apply role prechecks
|
- name: Apply role prechecks
|
||||||
|
gather_facts: false
|
||||||
hosts:
|
hosts:
|
||||||
- all
|
- all
|
||||||
roles:
|
roles:
|
||||||
@ -55,6 +56,7 @@
|
|||||||
when: action == "precheck"
|
when: action == "precheck"
|
||||||
|
|
||||||
- name: Apply role chrony
|
- name: Apply role chrony
|
||||||
|
gather_facts: false
|
||||||
hosts:
|
hosts:
|
||||||
- chrony-server
|
- chrony-server
|
||||||
- chrony
|
- chrony
|
||||||
@ -65,6 +67,7 @@
|
|||||||
when: enable_chrony | bool }
|
when: enable_chrony | bool }
|
||||||
|
|
||||||
- name: Apply role collectd
|
- name: Apply role collectd
|
||||||
|
gather_facts: false
|
||||||
hosts: collectd
|
hosts: collectd
|
||||||
serial: '{{ serial|default("0") }}'
|
serial: '{{ serial|default("0") }}'
|
||||||
roles:
|
roles:
|
||||||
@ -73,6 +76,7 @@
|
|||||||
when: enable_collectd | bool }
|
when: enable_collectd | bool }
|
||||||
|
|
||||||
- name: Apply role elasticsearch
|
- name: Apply role elasticsearch
|
||||||
|
gather_facts: false
|
||||||
hosts: elasticsearch
|
hosts: elasticsearch
|
||||||
serial: '{{ serial|default("0") }}'
|
serial: '{{ serial|default("0") }}'
|
||||||
roles:
|
roles:
|
||||||
@ -81,6 +85,7 @@
|
|||||||
when: enable_elasticsearch | bool }
|
when: enable_elasticsearch | bool }
|
||||||
|
|
||||||
- name: Apply role influxdb
|
- name: Apply role influxdb
|
||||||
|
gather_facts: false
|
||||||
hosts: influxdb
|
hosts: influxdb
|
||||||
serial: '{{ serial|default("0") }}'
|
serial: '{{ serial|default("0") }}'
|
||||||
roles:
|
roles:
|
||||||
@ -89,6 +94,7 @@
|
|||||||
when: enable_influxdb | bool }
|
when: enable_influxdb | bool }
|
||||||
|
|
||||||
- name: Apply role telegraf
|
- name: Apply role telegraf
|
||||||
|
gather_facts: false
|
||||||
hosts:
|
hosts:
|
||||||
- telegraf
|
- telegraf
|
||||||
serial: '{{ serial|default("0") }}'
|
serial: '{{ serial|default("0") }}'
|
||||||
@ -98,6 +104,7 @@
|
|||||||
when: enable_telegraf | bool }
|
when: enable_telegraf | bool }
|
||||||
|
|
||||||
- name: Apply role haproxy
|
- name: Apply role haproxy
|
||||||
|
gather_facts: false
|
||||||
hosts:
|
hosts:
|
||||||
- haproxy
|
- haproxy
|
||||||
roles:
|
roles:
|
||||||
@ -106,6 +113,7 @@
|
|||||||
when: enable_haproxy | bool }
|
when: enable_haproxy | bool }
|
||||||
|
|
||||||
- name: Apply role kibana
|
- name: Apply role kibana
|
||||||
|
gather_facts: false
|
||||||
hosts: kibana
|
hosts: kibana
|
||||||
serial: '{{ serial|default("0") }}'
|
serial: '{{ serial|default("0") }}'
|
||||||
roles:
|
roles:
|
||||||
@ -114,6 +122,7 @@
|
|||||||
when: enable_kibana | bool }
|
when: enable_kibana | bool }
|
||||||
|
|
||||||
- name: Apply role memcached
|
- name: Apply role memcached
|
||||||
|
gather_facts: false
|
||||||
hosts: memcached
|
hosts: memcached
|
||||||
serial: '{{ serial|default("0") }}'
|
serial: '{{ serial|default("0") }}'
|
||||||
roles:
|
roles:
|
||||||
@ -122,6 +131,7 @@
|
|||||||
when: enable_memcached | bool }
|
when: enable_memcached | bool }
|
||||||
|
|
||||||
- name: Apply role mariadb
|
- name: Apply role mariadb
|
||||||
|
gather_facts: false
|
||||||
hosts: mariadb
|
hosts: mariadb
|
||||||
serial: '{{ serial|default("0") }}'
|
serial: '{{ serial|default("0") }}'
|
||||||
roles:
|
roles:
|
||||||
@ -130,6 +140,7 @@
|
|||||||
when: enable_mariadb | bool }
|
when: enable_mariadb | bool }
|
||||||
|
|
||||||
- name: Apply role iscsi
|
- name: Apply role iscsi
|
||||||
|
gather_facts: false
|
||||||
hosts:
|
hosts:
|
||||||
- iscsid
|
- iscsid
|
||||||
- tgtd
|
- tgtd
|
||||||
@ -140,6 +151,7 @@
|
|||||||
when: enable_iscsid | bool }
|
when: enable_iscsid | bool }
|
||||||
|
|
||||||
- name: Apply role multipathd
|
- name: Apply role multipathd
|
||||||
|
gather_facts: false
|
||||||
hosts:
|
hosts:
|
||||||
- multipathd
|
- multipathd
|
||||||
serial: '{{ serial|default("0") }}'
|
serial: '{{ serial|default("0") }}'
|
||||||
@ -149,6 +161,7 @@
|
|||||||
when: enable_multipathd | bool }
|
when: enable_multipathd | bool }
|
||||||
|
|
||||||
- name: Apply role rabbitmq
|
- name: Apply role rabbitmq
|
||||||
|
gather_facts: false
|
||||||
hosts: rabbitmq
|
hosts: rabbitmq
|
||||||
roles:
|
roles:
|
||||||
- { role: rabbitmq,
|
- { role: rabbitmq,
|
||||||
@ -156,6 +169,7 @@
|
|||||||
when: enable_rabbitmq | bool }
|
when: enable_rabbitmq | bool }
|
||||||
|
|
||||||
- name: Apply role etcd
|
- name: Apply role etcd
|
||||||
|
gather_facts: false
|
||||||
hosts: etcd
|
hosts: etcd
|
||||||
serial: '{{ serial|default("0") }}'
|
serial: '{{ serial|default("0") }}'
|
||||||
roles:
|
roles:
|
||||||
@ -164,6 +178,7 @@
|
|||||||
when: enable_etcd | bool }
|
when: enable_etcd | bool }
|
||||||
|
|
||||||
- name: Apply role keystone
|
- name: Apply role keystone
|
||||||
|
gather_facts: false
|
||||||
hosts: keystone
|
hosts: keystone
|
||||||
serial: '{{ serial|default("0") }}'
|
serial: '{{ serial|default("0") }}'
|
||||||
roles:
|
roles:
|
||||||
@ -172,6 +187,7 @@
|
|||||||
when: enable_keystone | bool }
|
when: enable_keystone | bool }
|
||||||
|
|
||||||
- name: Apply role ceph
|
- name: Apply role ceph
|
||||||
|
gather_facts: false
|
||||||
hosts:
|
hosts:
|
||||||
- ceph-mon
|
- ceph-mon
|
||||||
- ceph-osd
|
- ceph-osd
|
||||||
@ -183,6 +199,7 @@
|
|||||||
when: enable_ceph | bool }
|
when: enable_ceph | bool }
|
||||||
|
|
||||||
- name: Apply role karbor
|
- name: Apply role karbor
|
||||||
|
gather_facts: false
|
||||||
hosts: karbor
|
hosts: karbor
|
||||||
serial: '{{ serial|default("0") }}'
|
serial: '{{ serial|default("0") }}'
|
||||||
roles:
|
roles:
|
||||||
@ -191,6 +208,7 @@
|
|||||||
when: enable_karbor | bool }
|
when: enable_karbor | bool }
|
||||||
|
|
||||||
- name: Apply role swift
|
- name: Apply role swift
|
||||||
|
gather_facts: false
|
||||||
hosts:
|
hosts:
|
||||||
- swift-account-server
|
- swift-account-server
|
||||||
- swift-container-server
|
- swift-container-server
|
||||||
@ -203,6 +221,7 @@
|
|||||||
when: enable_swift | bool }
|
when: enable_swift | bool }
|
||||||
|
|
||||||
- name: Apply role glance
|
- name: Apply role glance
|
||||||
|
gather_facts: false
|
||||||
hosts:
|
hosts:
|
||||||
- ceph-mon
|
- ceph-mon
|
||||||
- glance-api
|
- glance-api
|
||||||
@ -214,6 +233,7 @@
|
|||||||
when: enable_glance | bool }
|
when: enable_glance | bool }
|
||||||
|
|
||||||
- name: Apply role ironic
|
- name: Apply role ironic
|
||||||
|
gather_facts: false
|
||||||
hosts:
|
hosts:
|
||||||
- ironic-api
|
- ironic-api
|
||||||
- ironic-conductor
|
- ironic-conductor
|
||||||
@ -226,6 +246,7 @@
|
|||||||
when: enable_ironic | bool }
|
when: enable_ironic | bool }
|
||||||
|
|
||||||
- name: Apply role nova
|
- name: Apply role nova
|
||||||
|
gather_facts: false
|
||||||
hosts:
|
hosts:
|
||||||
- ceph-mon
|
- ceph-mon
|
||||||
- compute
|
- compute
|
||||||
@ -243,6 +264,7 @@
|
|||||||
# (gmmaha): Please do not change the order listed here. The current order is a
|
# (gmmaha): Please do not change the order listed here. The current order is a
|
||||||
# workaround to fix the bug https://bugs.launchpad.net/kolla/+bug/1546789
|
# workaround to fix the bug https://bugs.launchpad.net/kolla/+bug/1546789
|
||||||
- name: Apply role neutron
|
- name: Apply role neutron
|
||||||
|
gather_facts: false
|
||||||
hosts:
|
hosts:
|
||||||
- neutron-server
|
- neutron-server
|
||||||
- neutron-dhcp-agent
|
- neutron-dhcp-agent
|
||||||
@ -259,6 +281,7 @@
|
|||||||
when: enable_neutron | bool }
|
when: enable_neutron | bool }
|
||||||
|
|
||||||
- name: Apply role kuryr
|
- name: Apply role kuryr
|
||||||
|
gather_facts: false
|
||||||
hosts:
|
hosts:
|
||||||
- compute
|
- compute
|
||||||
roles:
|
roles:
|
||||||
@ -267,6 +290,7 @@
|
|||||||
when: enable_kuryr | bool }
|
when: enable_kuryr | bool }
|
||||||
|
|
||||||
- name: Apply role cinder
|
- name: Apply role cinder
|
||||||
|
gather_facts: false
|
||||||
hosts:
|
hosts:
|
||||||
- ceph-mon
|
- ceph-mon
|
||||||
- cinder-api
|
- cinder-api
|
||||||
@ -280,6 +304,7 @@
|
|||||||
when: enable_cinder | bool }
|
when: enable_cinder | bool }
|
||||||
|
|
||||||
- name: Apply role heat
|
- name: Apply role heat
|
||||||
|
gather_facts: false
|
||||||
hosts:
|
hosts:
|
||||||
- heat-api
|
- heat-api
|
||||||
- heat-api-cfn
|
- heat-api-cfn
|
||||||
@ -291,6 +316,7 @@
|
|||||||
when: enable_heat | bool }
|
when: enable_heat | bool }
|
||||||
|
|
||||||
- name: Apply role horizon
|
- name: Apply role horizon
|
||||||
|
gather_facts: false
|
||||||
hosts:
|
hosts:
|
||||||
- horizon
|
- horizon
|
||||||
serial: '{{ serial|default("0") }}'
|
serial: '{{ serial|default("0") }}'
|
||||||
@ -300,6 +326,7 @@
|
|||||||
when: enable_horizon | bool }
|
when: enable_horizon | bool }
|
||||||
|
|
||||||
- name: Apply role murano
|
- name: Apply role murano
|
||||||
|
gather_facts: false
|
||||||
hosts:
|
hosts:
|
||||||
- murano-api
|
- murano-api
|
||||||
- murano-engine
|
- murano-engine
|
||||||
@ -310,6 +337,7 @@
|
|||||||
when: enable_murano | bool }
|
when: enable_murano | bool }
|
||||||
|
|
||||||
- name: Apply role solum
|
- name: Apply role solum
|
||||||
|
gather_facts: false
|
||||||
hosts:
|
hosts:
|
||||||
- solum-api
|
- solum-api
|
||||||
- solum-worker
|
- solum-worker
|
||||||
@ -322,6 +350,7 @@
|
|||||||
when: enable_solum | bool }
|
when: enable_solum | bool }
|
||||||
|
|
||||||
- name: Apply role magnum
|
- name: Apply role magnum
|
||||||
|
gather_facts: false
|
||||||
hosts:
|
hosts:
|
||||||
- magnum-api
|
- magnum-api
|
||||||
- magnum-conductor
|
- magnum-conductor
|
||||||
@ -332,6 +361,7 @@
|
|||||||
when: enable_magnum | bool }
|
when: enable_magnum | bool }
|
||||||
|
|
||||||
- name: Apply role mistral
|
- name: Apply role mistral
|
||||||
|
gather_facts: false
|
||||||
hosts:
|
hosts:
|
||||||
- mistral-api
|
- mistral-api
|
||||||
- mistral-engine
|
- mistral-engine
|
||||||
@ -343,6 +373,7 @@
|
|||||||
when: enable_mistral | bool }
|
when: enable_mistral | bool }
|
||||||
|
|
||||||
- name: Apply role sahara
|
- name: Apply role sahara
|
||||||
|
gather_facts: false
|
||||||
hosts:
|
hosts:
|
||||||
- sahara-api
|
- sahara-api
|
||||||
- sahara-engine
|
- sahara-engine
|
||||||
@ -353,6 +384,7 @@
|
|||||||
when: enable_sahara | bool }
|
when: enable_sahara | bool }
|
||||||
|
|
||||||
- name: Apply role mongodb
|
- name: Apply role mongodb
|
||||||
|
gather_facts: false
|
||||||
hosts:
|
hosts:
|
||||||
- mongodb
|
- mongodb
|
||||||
serial: '{{ serial|default("0") }}'
|
serial: '{{ serial|default("0") }}'
|
||||||
@ -362,6 +394,7 @@
|
|||||||
when: enable_mongodb | bool }
|
when: enable_mongodb | bool }
|
||||||
|
|
||||||
- name: Apply role panko
|
- name: Apply role panko
|
||||||
|
gather_facts: false
|
||||||
hosts: panko-api
|
hosts: panko-api
|
||||||
serial: '{{ serial|default("0") }}'
|
serial: '{{ serial|default("0") }}'
|
||||||
roles:
|
roles:
|
||||||
@ -370,6 +403,7 @@
|
|||||||
when: enable_panko | bool }
|
when: enable_panko | bool }
|
||||||
|
|
||||||
- name: Apply role manila
|
- name: Apply role manila
|
||||||
|
gather_facts: false
|
||||||
hosts:
|
hosts:
|
||||||
- manila-api
|
- manila-api
|
||||||
- manila-data
|
- manila-data
|
||||||
@ -382,6 +416,7 @@
|
|||||||
when: enable_manila | bool }
|
when: enable_manila | bool }
|
||||||
|
|
||||||
- name: Apply role gnocchi
|
- name: Apply role gnocchi
|
||||||
|
gather_facts: false
|
||||||
hosts:
|
hosts:
|
||||||
- gnocchi-api
|
- gnocchi-api
|
||||||
- gnocchi-metricd
|
- gnocchi-metricd
|
||||||
@ -393,6 +428,7 @@
|
|||||||
when: enable_gnocchi | bool }
|
when: enable_gnocchi | bool }
|
||||||
|
|
||||||
- name: Apply role ceilometer
|
- name: Apply role ceilometer
|
||||||
|
gather_facts: false
|
||||||
hosts:
|
hosts:
|
||||||
- ceilometer
|
- ceilometer
|
||||||
- compute
|
- compute
|
||||||
@ -403,6 +439,7 @@
|
|||||||
when: enable_ceilometer | bool }
|
when: enable_ceilometer | bool }
|
||||||
|
|
||||||
- name: Apply role aodh
|
- name: Apply role aodh
|
||||||
|
gather_facts: false
|
||||||
hosts:
|
hosts:
|
||||||
- aodh
|
- aodh
|
||||||
serial: '{{ serial|default("0") }}'
|
serial: '{{ serial|default("0") }}'
|
||||||
@ -412,6 +449,7 @@
|
|||||||
when: enable_aodh | bool }
|
when: enable_aodh | bool }
|
||||||
|
|
||||||
- name: Apply role barbican
|
- name: Apply role barbican
|
||||||
|
gather_facts: false
|
||||||
hosts:
|
hosts:
|
||||||
- barbican-api
|
- barbican-api
|
||||||
- barbican-keystone-listener
|
- barbican-keystone-listener
|
||||||
@ -423,6 +461,7 @@
|
|||||||
when: enable_barbican | bool }
|
when: enable_barbican | bool }
|
||||||
|
|
||||||
- name: Apply role congress
|
- name: Apply role congress
|
||||||
|
gather_facts: false
|
||||||
hosts:
|
hosts:
|
||||||
- congress-api
|
- congress-api
|
||||||
- congress-policy-engine
|
- congress-policy-engine
|
||||||
@ -434,6 +473,7 @@
|
|||||||
when: enable_congress | bool }
|
when: enable_congress | bool }
|
||||||
|
|
||||||
- name: Apply role tempest
|
- name: Apply role tempest
|
||||||
|
gather_facts: false
|
||||||
hosts:
|
hosts:
|
||||||
- tempest
|
- tempest
|
||||||
serial: '{{ serial|default("0") }}'
|
serial: '{{ serial|default("0") }}'
|
||||||
@ -443,6 +483,7 @@
|
|||||||
when: enable_tempest | bool }
|
when: enable_tempest | bool }
|
||||||
|
|
||||||
- name: Apply role designate
|
- name: Apply role designate
|
||||||
|
gather_facts: false
|
||||||
hosts:
|
hosts:
|
||||||
- designate-api
|
- designate-api
|
||||||
- designate-central
|
- designate-central
|
||||||
@ -456,6 +497,7 @@
|
|||||||
when: enable_designate | bool }
|
when: enable_designate | bool }
|
||||||
|
|
||||||
- name: Apply role rally
|
- name: Apply role rally
|
||||||
|
gather_facts: false
|
||||||
hosts: rally
|
hosts: rally
|
||||||
serial: '{{ serial|default("0") }}'
|
serial: '{{ serial|default("0") }}'
|
||||||
roles:
|
roles:
|
||||||
@ -464,6 +506,7 @@
|
|||||||
when: enable_rally | bool }
|
when: enable_rally | bool }
|
||||||
|
|
||||||
- name: Apply role vmtp
|
- name: Apply role vmtp
|
||||||
|
gather_facts: false
|
||||||
hosts:
|
hosts:
|
||||||
- vmtp
|
- vmtp
|
||||||
serial: '{{ serial|default("0") }}'
|
serial: '{{ serial|default("0") }}'
|
||||||
@ -473,6 +516,7 @@
|
|||||||
when: enable_vmtp | bool }
|
when: enable_vmtp | bool }
|
||||||
|
|
||||||
- name: Apply role trove
|
- name: Apply role trove
|
||||||
|
gather_facts: false
|
||||||
hosts:
|
hosts:
|
||||||
- trove-api
|
- trove-api
|
||||||
- trove-conductor
|
- trove-conductor
|
||||||
@ -484,6 +528,7 @@
|
|||||||
when: enable_trove | bool }
|
when: enable_trove | bool }
|
||||||
|
|
||||||
- name: Apply role watcher
|
- name: Apply role watcher
|
||||||
|
gather_facts: false
|
||||||
hosts:
|
hosts:
|
||||||
- watcher-api
|
- watcher-api
|
||||||
- watcher-engine
|
- watcher-engine
|
||||||
@ -495,6 +540,7 @@
|
|||||||
when: enable_watcher | bool }
|
when: enable_watcher | bool }
|
||||||
|
|
||||||
- name: Apply role grafana
|
- name: Apply role grafana
|
||||||
|
gather_facts: false
|
||||||
hosts:
|
hosts:
|
||||||
- grafana
|
- grafana
|
||||||
serial: '{{ serial|default("0") }}'
|
serial: '{{ serial|default("0") }}'
|
||||||
@ -504,6 +550,7 @@
|
|||||||
when: enable_grafana | bool }
|
when: enable_grafana | bool }
|
||||||
|
|
||||||
- name: Apply role cloudkitty
|
- name: Apply role cloudkitty
|
||||||
|
gather_facts: false
|
||||||
hosts:
|
hosts:
|
||||||
- cloudkitty-api
|
- cloudkitty-api
|
||||||
- cloudkitty-processor
|
- cloudkitty-processor
|
||||||
@ -514,6 +561,7 @@
|
|||||||
when: enable_cloudkitty | bool }
|
when: enable_cloudkitty | bool }
|
||||||
|
|
||||||
- name: Apply role freezer
|
- name: Apply role freezer
|
||||||
|
gather_facts: false
|
||||||
hosts:
|
hosts:
|
||||||
- freezer-api
|
- freezer-api
|
||||||
serial: '{{ serial|default("0") }}'
|
serial: '{{ serial|default("0") }}'
|
||||||
@ -523,6 +571,7 @@
|
|||||||
when: enable_freezer | bool }
|
when: enable_freezer | bool }
|
||||||
|
|
||||||
- name: Apply role senlin
|
- name: Apply role senlin
|
||||||
|
gather_facts: false
|
||||||
hosts:
|
hosts:
|
||||||
- senlin-api
|
- senlin-api
|
||||||
- senlin-engine
|
- senlin-engine
|
||||||
@ -533,6 +582,7 @@
|
|||||||
when: enable_senlin | bool }
|
when: enable_senlin | bool }
|
||||||
|
|
||||||
- name: Apply role searchlight
|
- name: Apply role searchlight
|
||||||
|
gather_facts: false
|
||||||
hosts:
|
hosts:
|
||||||
- searchlight-api
|
- searchlight-api
|
||||||
- searchlight-listener
|
- searchlight-listener
|
||||||
@ -543,6 +593,7 @@
|
|||||||
when: enable_searchlight | bool }
|
when: enable_searchlight | bool }
|
||||||
|
|
||||||
- name: Apply role tacker
|
- name: Apply role tacker
|
||||||
|
gather_facts: false
|
||||||
hosts: tacker
|
hosts: tacker
|
||||||
serial: '{{ serial|default("0") }}'
|
serial: '{{ serial|default("0") }}'
|
||||||
roles:
|
roles:
|
||||||
@ -551,6 +602,7 @@
|
|||||||
when: enable_tacker | bool }
|
when: enable_tacker | bool }
|
||||||
|
|
||||||
- name: Apply role octavia
|
- name: Apply role octavia
|
||||||
|
gather_facts: false
|
||||||
hosts:
|
hosts:
|
||||||
- octavia-api
|
- octavia-api
|
||||||
- octavia-health-manager
|
- octavia-health-manager
|
||||||
|
Loading…
x
Reference in New Issue
Block a user