AFAIK it's not possible to use ansible code like below in a bundle:
- pause:
prompt: >
"There is a backup instance with different database system identifier already exists in
{{ pgbackup_path + '/backups/' + instance_name + '/' }} at host {{ pghost }} .
Should I delete it [y/N]?"
echo: yes
register: rm_backup_instance
when: pg_backup_instance_status.stat.exists and sysid_is_different
AFAIK it's not possible to use ansible code like below in a bundle: