Merge "Option to remove the self-installed ReaR cron task"

This commit is contained in:
Zuul 2021-02-23 16:07:59 +00:00 committed by Gerrit Code Review
commit fa59fc28ca
2 changed files with 12 additions and 0 deletions

View File

@ -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

View File

@ -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