|
@@ -35,3 +35,14 @@
|
|
|
# TODO(shadower): Find out which CentOS version supports overlayfs2
|
|
|
when:
|
|
|
- ansible_distribution == "CentOS"
|
|
|
+
|
|
|
+- name: restart docker after storage configuration
|
|
|
+ become: yes
|
|
|
+ systemd:
|
|
|
+ name: "{{ openshift_docker_service_name }}"
|
|
|
+ state: restarted
|
|
|
+ register: l_docker_restart_docker_in_storage_setup_result
|
|
|
+ until: not (l_docker_restart_docker_in_storage_setup_result is failed)
|
|
|
+ retries: 3
|
|
|
+ delay: 30
|
|
|
+ when: not openshift_use_crio_only|default(None)
|