Merge "Removal of dockerSDK check for other container engines"
This commit is contained in:
commit
de7d9c237c
@ -3,7 +3,9 @@
|
|||||||
command: "{{ ansible_facts.python.executable }} -c \"import docker; print(docker.__version__)\""
|
command: "{{ ansible_facts.python.executable }} -c \"import docker; print(docker.__version__)\""
|
||||||
register: result
|
register: result
|
||||||
changed_when: false
|
changed_when: false
|
||||||
when: inventory_hostname in groups['baremetal']
|
when:
|
||||||
|
- inventory_hostname in groups['baremetal']
|
||||||
|
- kolla_container_engine == 'docker'
|
||||||
failed_when: result is failed or result.stdout is version(docker_py_version_min, '<')
|
failed_when: result is failed or result.stdout is version(docker_py_version_min, '<')
|
||||||
|
|
||||||
# NOTE(osmanlicilegi): ansible_version.full includes patch number that's useless
|
# NOTE(osmanlicilegi): ansible_version.full includes patch number that's useless
|
||||||
|
@ -44,7 +44,7 @@
|
|||||||
|
|
||||||
- name: Check the configs
|
- name: Check the configs
|
||||||
become: true
|
become: true
|
||||||
command: "{{ kolla_container_engine }}exec -u root {{ item.name }} /usr/local/bin/kolla_set_configs --check"
|
command: "{{ kolla_container_engine }} exec -u root {{ item.name }} /usr/local/bin/kolla_set_configs --check"
|
||||||
changed_when: false
|
changed_when: false
|
||||||
failed_when: false
|
failed_when: false
|
||||||
register: check_results
|
register: check_results
|
||||||
|
Loading…
Reference in New Issue
Block a user