Add some debugging

This commit is contained in:
Chris Hammer 2025-03-04 16:07:04 -05:00
parent 91a2423e2e
commit 51e313692d
2 changed files with 17 additions and 5 deletions

View File

@ -45,4 +45,3 @@
when: when:
- item['value']['bigboot_execute_bigboot'] | default(false) | bool - item['value']['bigboot_execute_bigboot'] | default(false) | bool
- not rear_backup_skip | default(false) | bool - not rear_backup_skip | default(false) | bool

View File

@ -1,12 +1,25 @@
--- ---
- name: Import rear_vars role
ansible.builtin.import_role:
name: rhc.rear.rear_vars
- name: Debug rear_backup_workflow
ansible.builtin.debug:
var: rear_backup_workflow
- name: Debug rear_vars_nfs_share
ansible.builtin.debug:
var: rear_vars_nfs_share
- name: Debug share
ansible.builtin.debug:
var: rear_vars_nfs_share[rear_backup_workflow]['share']
- name: Create list of IP addresses and hostnames - name: Create list of IP addresses and hostnames
ansible.builtin.set_fact: ansible.builtin.set_fact:
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 # noqa var-naming - name: Include NFS export role
ansible.builtin.include_role: ansible.builtin.include_role:
name: rhc.rear.nfs_export name: rhc.rear.nfs_export
vars:
rear_nfs_export_share: "{{ bigboot_nfs_backup_share }}"
rear_nfs_export_fsid: "{{ bigboot_nfs_backup_share_fsid }}"