- block: - name: fail if host does not support winrm fail: msg: winrm support is missing when: ansible_connection != 'winrm' - name: redefine ansible_host set_fact: ansible_host: "{{ host_fqdn }}" when: ansible_host is ansible.utils.ip_address - name: prepare connection include_tasks: prepare.yml - name: gather facts setup: gather_facts: - min - include_tasks: win_icons.yml - include_tasks: win_ntp.yml - include_tasks: win_firewall.yml - include_tasks: win_description.yml - include_tasks: win_timezone.yml - include_tasks: win_hide_account.yml - include_tasks: win_hosts.yml - include_tasks: win_tweaks.yml - include_tasks: win_chocolatey.yml - include_tasks: win_backup.yml - include_tasks: win_install_libreoffice.yml - include_tasks: win_install_lmserver.yml - include_tasks: win_install_seadrive.yml when: workstation_unmanaged | d(false) == false