--- - name: Save the result of 'whoami' in 'whoami_out' ansible.windows.win_command: whoami register: whoami_out - name: install packages win_package: path: "https://cdn.zabbix.com/zabbix/binaries/stable/6.2/6.2.2/zabbix_agent2-6.2.2-windows-amd64-openssl.msi" state: present arguments: "SERVER=10.91.1.2"