---
- name: update ca trust
  command: update-ca-trust
  notify:
    - restart docker after updating ca trust

- name: restart docker after updating ca trust
  systemd:
    name: "{{ openshift.docker.service_name }}"
    state: restarted
  when: not openshift_certificates_redeploy | default(false) | bool
