Übernahme aus privaten Projekt.
This commit is contained in:
9
roles/trixie_migration/tasks/backup-opt.yml
Normal file
9
roles/trixie_migration/tasks/backup-opt.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
- name: Sichere /opt
|
||||
ansible.builtin.copy:
|
||||
src: /opt
|
||||
dest: "{{ backup_host_dir }}/opt/"
|
||||
remote_src: yes
|
||||
mode: preserve
|
||||
become: true
|
||||
when: ansible_facts.lsb.codename in ["bookworm", "bullseye"]
|
||||
|
||||
Reference in New Issue
Block a user