{% if unattend.administrator_password is defined %}
{{ unattend.administrator_password }}
true
{% endif %}
{% if unattend.local_accounts is defined %}
{% for local_account in unattend.local_accounts %}
{% if local_account.password is defined %}
{{ local_account.password }}
true
{% endif %}
{% if local_account.description is defined %}
{{ local_account.description }}
{% endif %}
{% if local_account.display_name is defined %}
{{ local_account.display_name }}
{% endif %}
{% if local_account.group is defined %}
{{ local_account.group }}
{% endif %}
{% if local_account.name is defined %}
{{ local_account.name }}
{% endif %}
{% endfor %}
{% endif %}
true
true
Home
1
true
true
true
true
true
{% if enable_auto_logon and unattend.local_accounts and unattend.local_accounts[0].name and unattend.local_accounts[0].password %}
{{ unattend.local_accounts[0].password }}
true
{{ unattend.local_accounts[0].name }}
true
{% endif %}
cmd.exe /c powershell -Command "& $([scriptblock]::Create((New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/ansible/ansible/devel/examples/scripts/ConfigureRemotingForAnsible.ps1'))) -ForceNewSSLCert -EnableCredSSP"
Enable winrm
1
true
cmd.exe /c powershell -Command "Enable-WSManCredSSP -Role Server -Force"
Enable winrm server role
2
true
cmd.exe /c powershell -Command "Set-Item -Path 'WSMan:\localhost\Service\Auth\CredSSP' -Value $true"
Enable credssp authentication
3
true
false
false
{{ settings.computer_name | default('windows') }}
{{ settings.time_zone | default('Central Standard Time') }}
{{ settings.skip_auto_activation | default('true') }}