--- - name: Copy root certificate copy: src: "{{ certificates_local_dir }}/rootCA.crt" dest: "{{ root_ca_path[ansible_os_family] }}" notify: # handler is triggered just when file is changed - Extract root certificate