24 lines
523 B
YAML

---
- name: Create /etc/rear if it doesn't exist
ansible.builtin.file:
path: /etc/rear
state: directory
mode: "0755"
owner: root
group: root
- name: Update ReaR configuration file
ansible.builtin.template:
src: local.conf.j2
dest: /etc/rear/local.conf
owner: root
group: root
mode: "0600"
- name: Execute ReaR backup
ansible.builtin.debug:
msg: "Executing ReaR backup explicitly including the '{{ bigboot_lv_vg_name | default('unknown') | trim }}' logical volume."
...