- name: Configure debconf for tzdata debconf: name: tzdata question: "{{ item.question }}" value: "{{ item.value }}" vtype: "string" loop: - { question: "tzdata/Areas", value: "Europe" } - { question: "tzdata/Zones/Europe", value: "Madrid" } - { question: "tzdata/Zones/Etc", value: "UTC" } notify: reconfigure tzdata