New role; path fix

This commit is contained in:
Chris Hammer 2025-03-03 14:42:02 -05:00
parent 9f069eb612
commit 1c709714db
5 changed files with 25 additions and 7 deletions

View File

@ -6,7 +6,7 @@
strategy: free
vars:
standalone_backup_success_path: "/var/log/IPE/IPU/el7to8"
standalone_backup_success_path: "/var/IPE/IPU/el7to8"
standalone_backup_success_file: "{{ standalone_backup_success_path }}/standalone_rear_success"

View File

@ -0,0 +1,14 @@
---
- name: ReaR Restore Playbook
hosts: all
gather_facts: true
become: false
tasks:
- name: Configure ReaR local.conf file
ansible.builtin.include_role:
name: ../roles/rear_local_cfg
- name: Perform ReaR restore
ansible.builtin.include_role:
name: ../roles/rear_restore

View File

@ -51,12 +51,8 @@
group: root
- name: Configure ReaR local.conf file
ansible.builtin.template:
src: local.conf.j2
dest: /etc/rear/local.conf
owner: root
group: root
mode: "0600"
ansible.builtin.include_role:
name: rear_local_cfg
- name: ReaR Backup
block:

View File

@ -0,0 +1,8 @@
---
- name: Configure ReaR local.conf file
ansible.builtin.template:
src: local.conf.j2
dest: /etc/rear/local.conf
owner: root
group: root
mode: "0600"