--- - name: download the cert manager manifest ansible.builtin.uri: url: https://github.com/cert-manager/cert-manager/releases/download/{{ cert_manager_version }}/cert-manager.yaml dest: "{{ ansible_search_path[0] }}/files/cert_manager_{{ cert_manager_version }}.yaml" creates: "{{ ansible_search_path[0] }}/files/cert_manager_{{ cert_manager_version }}.yaml" mode: 0664 - name: install cert manager manifest to cluster kubernetes.core.k8s: state: present src: "{{ ansible_search_path[0] }}/files/cert_manager_{{ cert_manager_version }}.yaml"