- name: proxmox installation include_tasks: install.yml when: function == 'install' - name: proxmox tls configuration include_tasks: tls.yml when: function == 'tls' - name: proxmox mail configuration include_tasks: mail.yml when: (function == 'mail') and (mail_account is mapping) and (mail_server is mapping)