Variable fixes
This commit is contained in:
@ -5,11 +5,8 @@
|
|||||||
gather_facts: true
|
gather_facts: true
|
||||||
strategy: free
|
strategy: free
|
||||||
|
|
||||||
vars:
|
vars_files:
|
||||||
bigboot_backup_success_path: "/var/log/IPE/IPU"
|
- bigboot_vars.yml
|
||||||
bigboot_backup_success_file: "{{ bigboot_backup_success_path }}/bigboot_rear_success"
|
|
||||||
bigboot_nfs_backup_share: "/backups/bigboot"
|
|
||||||
bigboot_nfs_backup_share_fsid: 20
|
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Fetch the template name from NFS exports
|
- name: Fetch the template name from NFS exports
|
||||||
@ -32,7 +29,6 @@
|
|||||||
name: rhc.rear.rear_backup
|
name: rhc.rear.rear_backup
|
||||||
vars:
|
vars:
|
||||||
rear_nfs_export_share: "{{ bigboot_nfs_backup_share }}"
|
rear_nfs_export_share: "{{ bigboot_nfs_backup_share }}"
|
||||||
rear_nfs_export_fsid: "{{ bigboot_nfs_backup_share_fsid }}"
|
|
||||||
|
|
||||||
- name: Create success file directory if not present
|
- name: Create success file directory if not present
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
|
@ -4,9 +4,9 @@
|
|||||||
client_ips: "{{ item['value']['ip_addresses'] | list | flatten }}"
|
client_ips: "{{ item['value']['ip_addresses'] | list | flatten }}"
|
||||||
namehost: "{{ item['value']['server_hostname'] }}"
|
namehost: "{{ item['value']['server_hostname'] }}"
|
||||||
|
|
||||||
- name: Include NFS export role
|
- name: Include NFS export role # noqa var-naming
|
||||||
ansible.builtin.include_role:
|
ansible.builtin.include_role:
|
||||||
name: rhc.rear.nfs_export
|
name: rhc.rear.nfs_export
|
||||||
vars:
|
vars:
|
||||||
rear_nfs_export_share: /backups/bigboot # noqa var-naming
|
rear_nfs_export_share: "{{ bigboot_nfs_backup_share }}"
|
||||||
rear_nfs_export_fsid: 10 # noqa var-naming
|
rear_nfs_export_fsid: "{{ bigboot_nfs_backup_share_fsid }}"
|
||||||
|
@ -35,3 +35,9 @@ bigboot_protected_services:
|
|||||||
|
|
||||||
# Filename of disabled services log:
|
# Filename of disabled services log:
|
||||||
bigboot_disabled_services_log: /var/ipe/ipu/el7to8/bigboot_disabled_services.log
|
bigboot_disabled_services_log: /var/ipe/ipu/el7to8/bigboot_disabled_services.log
|
||||||
|
|
||||||
|
|
||||||
|
bigboot_backup_success_path: "/var/log/IPE/IPU"
|
||||||
|
bigboot_backup_success_file: "{{ bigboot_backup_success_path }}/bigboot_rear_success"
|
||||||
|
bigboot_nfs_backup_share: "/backups/bigboot"
|
||||||
|
bigboot_nfs_backup_share_fsid: 20
|
||||||
|
Reference in New Issue
Block a user