- name: wait for winrm to be available ansible.builtin.wait_for: host: "{{ ansible_host }}" port: "{{ ansible_port }}" timeout: 300 delegate_to: localhost - name: execute init.ps1 import_tasks: init.yaml - name: set hostname import_tasks: set_hostname.yaml - name: reboot after hostname change import_tasks: reboot.yaml - name: join domain and reboot import_tasks: join_domain.yaml - name: execute setup-websql.ps1 import_tasks: setup_websql.yaml - name: reboot after mssql setup import_tasks: reboot.yaml - name: pause 5 minutes for mssql setup to complete pause: minutes: 5 - name: execute install-software.ps1 import_tasks: install_software.yaml - name: execute cleanup.ps1 import_tasks: cleanup.yaml