Add set stats; comment debugging
This commit is contained in:
parent
a3021ac84e
commit
07d169f527
@ -30,7 +30,7 @@
|
|||||||
'bigboot_adjacent_lvm_device': bigboot_adjacent_lvm_device,
|
'bigboot_adjacent_lvm_device': bigboot_adjacent_lvm_device,
|
||||||
'bigboot_lv_shrink_size': bigboot_lv_shrink_size | int,
|
'bigboot_lv_shrink_size': bigboot_lv_shrink_size | int,
|
||||||
'bigboot_pv': bigboot_pv,
|
'bigboot_pv': bigboot_pv,
|
||||||
'bigboot_size_target': bigboot_size_target | int,
|
'bigboot_size_target': bigboot_size_target,
|
||||||
'ip_addresses': ansible_all_ipv4_addresses,
|
'ip_addresses': ansible_all_ipv4_addresses,
|
||||||
'server_hostname': ansible_hostname
|
'server_hostname': ansible_hostname
|
||||||
}
|
}
|
||||||
|
@ -54,12 +54,12 @@
|
|||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
bigboot_lv_shrink_size: "{{ bigboot_lv_info.size_total - bigboot_expansion_diff | int }}"
|
bigboot_lv_shrink_size: "{{ bigboot_lv_info.size_total - bigboot_expansion_diff | int }}"
|
||||||
|
|
||||||
- name: Debug bigboot_lv_shrink_size
|
# - name: Debug bigboot_lv_shrink_size
|
||||||
ansible.builtin.debug:
|
# ansible.builtin.debug:
|
||||||
msg: "{{ bigboot_lv_shrink_size | int | human_readable(unit='M') }}"
|
# msg: "{{ bigboot_lv_shrink_size | int | human_readable(unit='M') }}"
|
||||||
|
|
||||||
- name: Kill the play
|
# - name: Kill the play
|
||||||
ansible.builtin.meta: end_host
|
# ansible.builtin.meta: end_host
|
||||||
|
|
||||||
- name: Capture logical volume name
|
- name: Capture logical volume name
|
||||||
ansible.builtin.shell:
|
ansible.builtin.shell:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user