noticket - update zomboid b42revamp modpack to collection 3672556207
Replaces old 168-mod collection (3636931465) with new 385-mod collection. Cleaned BBCode artifacts from mod IDs, updated map folders for 32 maps. LogCabin retained for player connect/disconnect logging. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
48
ansible/roles/podman/tasks/containers/cloud-backup.yml
Normal file
48
ansible/roles/podman/tasks/containers/cloud-backup.yml
Normal file
@@ -0,0 +1,48 @@
|
||||
---
|
||||
- name: deploy {{ backup_name }} backup SSH key
|
||||
become: true
|
||||
ansible.builtin.copy:
|
||||
content: "{{ ssh_key_content }}"
|
||||
dest: "/root/.ssh/truenas_{{ backup_name }}"
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0600
|
||||
|
||||
- name: template {{ backup_name }} backup script
|
||||
become: true
|
||||
ansible.builtin.template:
|
||||
src: nextcloud/cloud-backup.sh.j2
|
||||
dest: "{{ script_path }}"
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0755
|
||||
|
||||
- name: template {{ backup_name }} backup systemd service
|
||||
become: true
|
||||
ansible.builtin.template:
|
||||
src: nextcloud/cloud-backup.service.j2
|
||||
dest: "/etc/systemd/system/{{ backup_name }}-backup.service"
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
vars:
|
||||
instance_name: "{{ backup_name }}"
|
||||
|
||||
- name: template {{ backup_name }} backup systemd timer
|
||||
become: true
|
||||
ansible.builtin.template:
|
||||
src: nextcloud/cloud-backup.timer.j2
|
||||
dest: "/etc/systemd/system/{{ backup_name }}-backup.timer"
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
vars:
|
||||
instance_name: "{{ backup_name }}"
|
||||
|
||||
- name: enable and start {{ backup_name }} backup timer
|
||||
become: true
|
||||
ansible.builtin.systemd:
|
||||
name: "{{ backup_name }}-backup.timer"
|
||||
enabled: true
|
||||
state: started
|
||||
daemon_reload: true
|
||||
Reference in New Issue
Block a user