diff --git a/ansible/library/kolla_container_facts.py b/ansible/library/kolla_container_facts.py index 589755104b..2bd019a057 100644 --- a/ansible/library/kolla_container_facts.py +++ b/ansible/library/kolla_container_facts.py @@ -27,6 +27,11 @@ description: - A module targeting at collecting Docker container facts. It is used for detecting whether the container is running on host in Kolla. options: + container_engine: + description: + - Name of container engine to use + required: True + type: str api_version: description: - The version of the api for docker-py to use when contacting docker @@ -49,6 +54,7 @@ EXAMPLES = ''' - name: Gather glance container facts kolla_container_facts: + container_engine: docker name: - glance_api - glance_registry @@ -62,7 +68,8 @@ def get_docker_client(): def main(): argument_spec = dict( name=dict(required=False, type='list', default=[]), - api_version=dict(required=False, type='str', default='auto') + api_version=dict(required=False, type='str', default='auto'), + container_engine=dict(required=True, type='str') ) module = AnsibleModule(argument_spec=argument_spec) diff --git a/ansible/roles/aodh/tasks/precheck.yml b/ansible/roles/aodh/tasks/precheck.yml index 48dafbe961..084cc8d5df 100644 --- a/ansible/roles/aodh/tasks/precheck.yml +++ b/ansible/roles/aodh/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - aodh_api register: container_facts diff --git a/ansible/roles/barbican/tasks/precheck.yml b/ansible/roles/barbican/tasks/precheck.yml index da3e4e4077..344fd6ba9b 100644 --- a/ansible/roles/barbican/tasks/precheck.yml +++ b/ansible/roles/barbican/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - barbican_api register: container_facts diff --git a/ansible/roles/bifrost/tasks/stop.yml b/ansible/roles/bifrost/tasks/stop.yml index 8220dbf580..c6461c9533 100644 --- a/ansible/roles/bifrost/tasks/stop.yml +++ b/ansible/roles/bifrost/tasks/stop.yml @@ -3,6 +3,7 @@ - name: Check if bifrost_deploy container is running become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - bifrost_deploy register: container_facts diff --git a/ansible/roles/blazar/tasks/precheck.yml b/ansible/roles/blazar/tasks/precheck.yml index f47b01e52b..75ddff57ea 100644 --- a/ansible/roles/blazar/tasks/precheck.yml +++ b/ansible/roles/blazar/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - blazar_api register: container_facts diff --git a/ansible/roles/cinder/tasks/precheck.yml b/ansible/roles/cinder/tasks/precheck.yml index 0daba33867..273a87b369 100644 --- a/ansible/roles/cinder/tasks/precheck.yml +++ b/ansible/roles/cinder/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - cinder_api register: container_facts diff --git a/ansible/roles/cloudkitty/tasks/precheck.yml b/ansible/roles/cloudkitty/tasks/precheck.yml index 7002db1767..ee023e2410 100644 --- a/ansible/roles/cloudkitty/tasks/precheck.yml +++ b/ansible/roles/cloudkitty/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - cloudkitty_api register: container_facts diff --git a/ansible/roles/cyborg/tasks/precheck.yml b/ansible/roles/cyborg/tasks/precheck.yml index 9167122cd2..57341399f2 100644 --- a/ansible/roles/cyborg/tasks/precheck.yml +++ b/ansible/roles/cyborg/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - cyborg_api register: container_facts diff --git a/ansible/roles/designate/tasks/precheck.yml b/ansible/roles/designate/tasks/precheck.yml index ea2eb1b38b..e8fe4b81a1 100644 --- a/ansible/roles/designate/tasks/precheck.yml +++ b/ansible/roles/designate/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - designate_api - designate_backend_bind9 diff --git a/ansible/roles/elasticsearch/tasks/precheck.yml b/ansible/roles/elasticsearch/tasks/precheck.yml index 54e3f4b390..60466cdc0d 100644 --- a/ansible/roles/elasticsearch/tasks/precheck.yml +++ b/ansible/roles/elasticsearch/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - elasticsearch register: container_facts diff --git a/ansible/roles/etcd/tasks/precheck.yml b/ansible/roles/etcd/tasks/precheck.yml index be45e3a356..04916eb76b 100644 --- a/ansible/roles/etcd/tasks/precheck.yml +++ b/ansible/roles/etcd/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - etcd register: container_facts diff --git a/ansible/roles/freezer/tasks/precheck.yml b/ansible/roles/freezer/tasks/precheck.yml index 555a53e5f8..d47566deca 100644 --- a/ansible/roles/freezer/tasks/precheck.yml +++ b/ansible/roles/freezer/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - freezer_api register: container_facts diff --git a/ansible/roles/glance/tasks/precheck.yml b/ansible/roles/glance/tasks/precheck.yml index ceb7a5bd80..d0aa31ff07 100644 --- a/ansible/roles/glance/tasks/precheck.yml +++ b/ansible/roles/glance/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: "{{ glance_services.values() | map(attribute='container_name') | list }}" register: container_facts diff --git a/ansible/roles/gnocchi/tasks/precheck.yml b/ansible/roles/gnocchi/tasks/precheck.yml index 283f33c291..3820be7fa4 100644 --- a/ansible/roles/gnocchi/tasks/precheck.yml +++ b/ansible/roles/gnocchi/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - gnocchi_api register: container_facts diff --git a/ansible/roles/grafana/tasks/precheck.yml b/ansible/roles/grafana/tasks/precheck.yml index aaedcbc1c1..fe32bc4a22 100644 --- a/ansible/roles/grafana/tasks/precheck.yml +++ b/ansible/roles/grafana/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - grafana register: container_facts diff --git a/ansible/roles/hacluster/tasks/precheck.yml b/ansible/roles/hacluster/tasks/precheck.yml index 012b8f1fb6..8909d82a82 100644 --- a/ansible/roles/hacluster/tasks/precheck.yml +++ b/ansible/roles/hacluster/tasks/precheck.yml @@ -2,6 +2,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - hacluster_pacemaker_remote register: container_facts diff --git a/ansible/roles/heat/tasks/precheck.yml b/ansible/roles/heat/tasks/precheck.yml index a4e6d093ae..48b4059e58 100644 --- a/ansible/roles/heat/tasks/precheck.yml +++ b/ansible/roles/heat/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - heat_api - heat_api_cfn diff --git a/ansible/roles/horizon/tasks/precheck.yml b/ansible/roles/horizon/tasks/precheck.yml index 7e7490a0a4..97b8b7ddf3 100644 --- a/ansible/roles/horizon/tasks/precheck.yml +++ b/ansible/roles/horizon/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - horizon register: container_facts diff --git a/ansible/roles/influxdb/tasks/precheck.yml b/ansible/roles/influxdb/tasks/precheck.yml index 7728a845a9..f063881c0d 100644 --- a/ansible/roles/influxdb/tasks/precheck.yml +++ b/ansible/roles/influxdb/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - influxdb register: container_facts diff --git a/ansible/roles/ironic/tasks/precheck.yml b/ansible/roles/ironic/tasks/precheck.yml index 005b16f753..97ec0c5a90 100644 --- a/ansible/roles/ironic/tasks/precheck.yml +++ b/ansible/roles/ironic/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - ironic_api - ironic_inspector diff --git a/ansible/roles/iscsi/tasks/precheck.yml b/ansible/roles/iscsi/tasks/precheck.yml index 858ce7dbd2..4d0e949c99 100644 --- a/ansible/roles/iscsi/tasks/precheck.yml +++ b/ansible/roles/iscsi/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - iscsid register: container_facts diff --git a/ansible/roles/kafka/tasks/precheck.yml b/ansible/roles/kafka/tasks/precheck.yml index a6f76ca84b..41597da6b6 100644 --- a/ansible/roles/kafka/tasks/precheck.yml +++ b/ansible/roles/kafka/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - kafka register: container_facts diff --git a/ansible/roles/keystone/tasks/bootstrap_service.yml b/ansible/roles/keystone/tasks/bootstrap_service.yml index be77d44669..02f7abf71e 100644 --- a/ansible/roles/keystone/tasks/bootstrap_service.yml +++ b/ansible/roles/keystone/tasks/bootstrap_service.yml @@ -2,6 +2,7 @@ - name: Checking for any running keystone_fernet containers become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - keystone_fernet register: container_facts diff --git a/ansible/roles/keystone/tasks/precheck.yml b/ansible/roles/keystone/tasks/precheck.yml index 7801f2175f..201ec59f1f 100644 --- a/ansible/roles/keystone/tasks/precheck.yml +++ b/ansible/roles/keystone/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - keystone - keystone_ssh diff --git a/ansible/roles/kibana/tasks/precheck.yml b/ansible/roles/kibana/tasks/precheck.yml index e5db1096d9..24bbc30c37 100644 --- a/ansible/roles/kibana/tasks/precheck.yml +++ b/ansible/roles/kibana/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - kibana register: container_facts diff --git a/ansible/roles/kuryr/tasks/precheck.yml b/ansible/roles/kuryr/tasks/precheck.yml index 4597bb1c4a..03ca0f6de7 100644 --- a/ansible/roles/kuryr/tasks/precheck.yml +++ b/ansible/roles/kuryr/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - kuryr register: container_facts diff --git a/ansible/roles/loadbalancer/tasks/precheck.yml b/ansible/roles/loadbalancer/tasks/precheck.yml index 77639ce1eb..b5df6637e1 100644 --- a/ansible/roles/loadbalancer/tasks/precheck.yml +++ b/ansible/roles/loadbalancer/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - haproxy - proxysql diff --git a/ansible/roles/magnum/tasks/precheck.yml b/ansible/roles/magnum/tasks/precheck.yml index de612b0dad..2f795bf96c 100644 --- a/ansible/roles/magnum/tasks/precheck.yml +++ b/ansible/roles/magnum/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - magnum_api register: container_facts diff --git a/ansible/roles/manila/tasks/precheck.yml b/ansible/roles/manila/tasks/precheck.yml index 8c88562dcf..81446c1dec 100644 --- a/ansible/roles/manila/tasks/precheck.yml +++ b/ansible/roles/manila/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - manila_api register: container_facts diff --git a/ansible/roles/mariadb/tasks/precheck.yml b/ansible/roles/mariadb/tasks/precheck.yml index 5c84496067..d9810d07dd 100644 --- a/ansible/roles/mariadb/tasks/precheck.yml +++ b/ansible/roles/mariadb/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - mariadb register: container_facts diff --git a/ansible/roles/masakari/tasks/precheck.yml b/ansible/roles/masakari/tasks/precheck.yml index 07b99314c0..5c2cd3fe7c 100644 --- a/ansible/roles/masakari/tasks/precheck.yml +++ b/ansible/roles/masakari/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - masakari_api register: container_facts diff --git a/ansible/roles/memcached/tasks/precheck.yml b/ansible/roles/memcached/tasks/precheck.yml index ac8945c014..7c27f914cb 100644 --- a/ansible/roles/memcached/tasks/precheck.yml +++ b/ansible/roles/memcached/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - memcached register: container_facts diff --git a/ansible/roles/mistral/tasks/precheck.yml b/ansible/roles/mistral/tasks/precheck.yml index c6c00efafc..cf56d87113 100644 --- a/ansible/roles/mistral/tasks/precheck.yml +++ b/ansible/roles/mistral/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - mistral_api register: container_facts diff --git a/ansible/roles/monasca/tasks/precheck.yml b/ansible/roles/monasca/tasks/precheck.yml index 1e3cc9cd59..d65e6a7fe3 100644 --- a/ansible/roles/monasca/tasks/precheck.yml +++ b/ansible/roles/monasca/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: "{{ monasca_services.values() | map(attribute='container_name') | list }}" register: container_facts diff --git a/ansible/roles/murano/tasks/precheck.yml b/ansible/roles/murano/tasks/precheck.yml index cedd21ff7f..1b9df9c6ff 100644 --- a/ansible/roles/murano/tasks/precheck.yml +++ b/ansible/roles/murano/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - murano_api register: container_facts diff --git a/ansible/roles/neutron/tasks/precheck.yml b/ansible/roles/neutron/tasks/precheck.yml index e58ef40530..36804ae794 100644 --- a/ansible/roles/neutron/tasks/precheck.yml +++ b/ansible/roles/neutron/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - neutron_server register: container_facts diff --git a/ansible/roles/nova-cell/tasks/libvirt-cleanup.yml b/ansible/roles/nova-cell/tasks/libvirt-cleanup.yml index 1e9c24cde2..7565427ac0 100644 --- a/ansible/roles/nova-cell/tasks/libvirt-cleanup.yml +++ b/ansible/roles/nova-cell/tasks/libvirt-cleanup.yml @@ -9,6 +9,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - nova_libvirt register: container_facts diff --git a/ansible/roles/nova-cell/tasks/precheck.yml b/ansible/roles/nova-cell/tasks/precheck.yml index e4aef860a5..18f14f05c8 100644 --- a/ansible/roles/nova-cell/tasks/precheck.yml +++ b/ansible/roles/nova-cell/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - nova_libvirt - nova_novncproxy diff --git a/ansible/roles/nova/tasks/precheck.yml b/ansible/roles/nova/tasks/precheck.yml index dd52dfdf05..7287f59fa8 100644 --- a/ansible/roles/nova/tasks/precheck.yml +++ b/ansible/roles/nova/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - nova_api register: container_facts diff --git a/ansible/roles/octavia/tasks/precheck.yml b/ansible/roles/octavia/tasks/precheck.yml index 5b2b094499..d95b525e77 100644 --- a/ansible/roles/octavia/tasks/precheck.yml +++ b/ansible/roles/octavia/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - octavia_api - octavia_health_manager diff --git a/ansible/roles/openvswitch/tasks/precheck.yml b/ansible/roles/openvswitch/tasks/precheck.yml index ab87dd981b..94540a072f 100644 --- a/ansible/roles/openvswitch/tasks/precheck.yml +++ b/ansible/roles/openvswitch/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - openvswitch_db register: container_facts diff --git a/ansible/roles/ovn/tasks/precheck.yml b/ansible/roles/ovn/tasks/precheck.yml index 77bf882816..d98c98a4be 100644 --- a/ansible/roles/ovn/tasks/precheck.yml +++ b/ansible/roles/ovn/tasks/precheck.yml @@ -2,6 +2,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - ovn_nb_db - ovn_sb_db diff --git a/ansible/roles/placement/tasks/precheck.yml b/ansible/roles/placement/tasks/precheck.yml index 97381b93f8..8862d36ee9 100644 --- a/ansible/roles/placement/tasks/precheck.yml +++ b/ansible/roles/placement/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - placement_api register: container_facts diff --git a/ansible/roles/prometheus/tasks/precheck.yml b/ansible/roles/prometheus/tasks/precheck.yml index cfd2aefe6b..fe5d763059 100644 --- a/ansible/roles/prometheus/tasks/precheck.yml +++ b/ansible/roles/prometheus/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - prometheus_server - prometheus_node_exporter diff --git a/ansible/roles/rabbitmq/tasks/precheck.yml b/ansible/roles/rabbitmq/tasks/precheck.yml index 19e50de418..8743f5c8aa 100644 --- a/ansible/roles/rabbitmq/tasks/precheck.yml +++ b/ansible/roles/rabbitmq/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - rabbitmq - outward_rabbitmq diff --git a/ansible/roles/redis/tasks/precheck.yml b/ansible/roles/redis/tasks/precheck.yml index 9cfe2ff3b4..8a89d2ab85 100644 --- a/ansible/roles/redis/tasks/precheck.yml +++ b/ansible/roles/redis/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - redis register: container_facts diff --git a/ansible/roles/sahara/tasks/precheck.yml b/ansible/roles/sahara/tasks/precheck.yml index 2df581c1fb..401e517a4c 100644 --- a/ansible/roles/sahara/tasks/precheck.yml +++ b/ansible/roles/sahara/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - sahara_api register: container_facts diff --git a/ansible/roles/senlin/tasks/precheck.yml b/ansible/roles/senlin/tasks/precheck.yml index a5b351022e..738b3319d2 100644 --- a/ansible/roles/senlin/tasks/precheck.yml +++ b/ansible/roles/senlin/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - senlin_api register: container_facts diff --git a/ansible/roles/skydive/tasks/precheck.yml b/ansible/roles/skydive/tasks/precheck.yml index 711d1b855d..9be7739348 100644 --- a/ansible/roles/skydive/tasks/precheck.yml +++ b/ansible/roles/skydive/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - skydive_analyzer - skydive_agent diff --git a/ansible/roles/solum/tasks/precheck.yml b/ansible/roles/solum/tasks/precheck.yml index 372ee0d071..f817194d48 100644 --- a/ansible/roles/solum/tasks/precheck.yml +++ b/ansible/roles/solum/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - solum_api register: container_facts diff --git a/ansible/roles/storm/tasks/precheck.yml b/ansible/roles/storm/tasks/precheck.yml index cb3ac75bdf..ea84fa0f53 100644 --- a/ansible/roles/storm/tasks/precheck.yml +++ b/ansible/roles/storm/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - storm_worker - storm_nimbus diff --git a/ansible/roles/swift/tasks/precheck.yml b/ansible/roles/swift/tasks/precheck.yml index 2e00c5fd4e..73e088757b 100644 --- a/ansible/roles/swift/tasks/precheck.yml +++ b/ansible/roles/swift/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - swift_account_server - swift_container_server diff --git a/ansible/roles/tacker/tasks/precheck.yml b/ansible/roles/tacker/tasks/precheck.yml index 8bb0bfddb6..3db48fa026 100644 --- a/ansible/roles/tacker/tasks/precheck.yml +++ b/ansible/roles/tacker/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - tacker_server register: container_facts diff --git a/ansible/roles/trove/tasks/precheck.yml b/ansible/roles/trove/tasks/precheck.yml index 9954dc9367..58d477ce78 100644 --- a/ansible/roles/trove/tasks/precheck.yml +++ b/ansible/roles/trove/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - trove_api register: container_facts diff --git a/ansible/roles/venus/tasks/precheck.yml b/ansible/roles/venus/tasks/precheck.yml index cf40ae64b3..9fcde07a44 100644 --- a/ansible/roles/venus/tasks/precheck.yml +++ b/ansible/roles/venus/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - venus_api register: container_facts diff --git a/ansible/roles/vitrage/tasks/precheck.yml b/ansible/roles/vitrage/tasks/precheck.yml index d5da64838f..5517f09cdf 100644 --- a/ansible/roles/vitrage/tasks/precheck.yml +++ b/ansible/roles/vitrage/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - vitrage_api register: container_facts diff --git a/ansible/roles/watcher/tasks/precheck.yml b/ansible/roles/watcher/tasks/precheck.yml index 75bd1694db..1f9a872fab 100644 --- a/ansible/roles/watcher/tasks/precheck.yml +++ b/ansible/roles/watcher/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - watcher_api register: container_facts diff --git a/ansible/roles/zookeeper/tasks/precheck.yml b/ansible/roles/zookeeper/tasks/precheck.yml index 0547a6ba7f..9d28aad265 100644 --- a/ansible/roles/zookeeper/tasks/precheck.yml +++ b/ansible/roles/zookeeper/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - zookeeper register: container_facts diff --git a/ansible/roles/zun/tasks/precheck.yml b/ansible/roles/zun/tasks/precheck.yml index 38585515b4..e8322b1e2f 100644 --- a/ansible/roles/zun/tasks/precheck.yml +++ b/ansible/roles/zun/tasks/precheck.yml @@ -8,6 +8,7 @@ - name: Get container facts become: true kolla_container_facts: + container_engine: "{{ kolla_container_engine }}" name: - zun_api - zun_wsproxy