feat: move sops rename/restore to a ansible task
Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
11 files changed
+105
-245
No files matched your search
@@ -0,0 +1,12 @@
|
||||
---
|
||||
# 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
|
||||
Reference in new issue
Block a user