--- # https://github.com/ansible-collections/community.sops/issues/153 - name: Rename Sops configuration file ansible.builtin.copy: src: "{{ repository_path }}/.sops.yaml" dest: "{{ repository_path }}/.sops.yaml.orig" mode: "0644" - name: Remove Sops configuration file ansible.builtin.file: path: "{{ repository_path }}/.sops.yaml" state: absent