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