feat(backup): add archiving of deployed container images

This commit is contained in:
il
2026-05-11 00:52:28 +09:00
parent 530407c162
commit 1dd1c53e2a
20 changed files with 425 additions and 0 deletions
@@ -24,6 +24,17 @@
mode: "0770"
when: node['name'] == "app"
- name: Create container image archive directory
ansible.builtin.file:
path: "{{ item }}"
owner: "{{ ansible_user }}"
group: "svadmins"
state: "directory"
mode: "0700"
loop:
- "{{ node['home_path'] }}/archives"
- "{{ node['home_path'] }}/archives/containers"
- name: Install podman and reset ssh connection for initiating
when: is_podman_installed.rc != 0
become: true