Merge "Option to remove the self-installed ReaR cron task"
commit
fa59fc28ca
|
@ -72,3 +72,6 @@ tripleo_backup_and_restore_ceph_path: "/var/lib/ceph"
|
|||
|
||||
# If there is a firewalld active, setup the zone where the NFS server ports need to be opened
|
||||
tripleo_backup_and_restore_firewalld_zone: "libvirt"
|
||||
|
||||
# The ReaR rpm installs a cronjob at 1:30 each day by default. This variable deactivate that behaviour.
|
||||
tripleo_backup_and_restore_remove_default_cronjob: true
|
||||
|
|
|
@ -40,6 +40,15 @@
|
|||
tags:
|
||||
- bar_setup_rear
|
||||
|
||||
- name: Remove ReaR rpm default cron programming
|
||||
become: true
|
||||
file:
|
||||
path: /etc/cron.d/rear
|
||||
state: absent
|
||||
when: tripleo_backup_and_restore_remove_default_cronjob | bool
|
||||
tags:
|
||||
- bar_setup_rear
|
||||
|
||||
- name: Get local hostname
|
||||
command: hostname
|
||||
register: tripleo_backup_and_restore_hostname
|
||||
|
|
Loading…
Reference in New Issue