diff --git a/bigboot_execute_resize.yml b/bigboot_execute_resize.yml index 93e6665..b9d7892 100644 --- a/bigboot_execute_resize.yml +++ b/bigboot_execute_resize.yml @@ -34,23 +34,23 @@ # ansible.builtin.script: "scripts/pvsqueeze.sh {{ bigboot_data[inventory_hostname]['bigboot_pv'] }}" # register: bigboot_pvsqueeze - # - name: Copy pvsqueeze.sh script to host - # ansible.builtin.copy: - # src: scripts/pvsqueeze.sh - # dest: /var/tmp/pvsqueeze.sh - # owner: root - # group: root - # mode: '0700' + - name: Copy pvsqueeze.sh script to host + ansible.builtin.copy: + src: scripts/pvsqueeze.sh + dest: /var/tmp/pvsqueeze.sh + owner: root + group: root + mode: '0700' - # - name: Shift free extents to end of PV - # ansible.builtin.command: - # cmd: "/var/tmp/pvsqueeze.sh {{ bigboot_data[inventory_hostname]['bigboot_pv'] }}" - # register: bigboot_pvsqueeze + - name: Shift free extents to end of PV + ansible.builtin.command: + cmd: "/var/tmp/pvsqueeze.sh {{ bigboot_data[inventory_hostname]['bigboot_pv'] }}" + register: bigboot_pvsqueeze - # - name: Remove pvsqueeze.sh from host - # ansible.builtin.file: - # path: /var/tmp/pvsqueeze.sh - # state: absent + - name: Remove pvsqueeze.sh from host + ansible.builtin.file: + path: /var/tmp/pvsqueeze.sh + state: absent - name: Expand the /boot partition as requested ansible.builtin.import_role: