--- - name: Debug hosts: localhost connection: local gather_facts: false vars: verified_reboot_reboot_time: 1 tasks: - name: Debug shit ansible.builtin.debug: msg: "{{ (verified_reboot_reboot_time ~ 'm') | community.general.to_seconds }}"