Ansible-POC/roles/win-initial-setup/tasks/dotnet-crypto.yml
2022-09-18 19:43:28 -05:00

17 lines
513 B
YAML

---
- name: Set Dotnet SchUseStrongCrypto
ansible.windows.win_regedit:
path: HKLM:\SOFTWARE\WOW6432Node\Microsoft\.NETFramework\{{ dotnet_version | default('v4.0.30319') }}
type: dword
name: SchUseStrongCrypto
data: 1
state: present
- name: Set Dotnet SchUseStrongCrypto
ansible.windows.win_regedit:
path: HKLM:\SOFTWARE\WOW6432Node\Microsoft\.NETFramework\{{ dotnet_version | default('v4.0.30319') }}
type: dword
name: SystemDefaultTlsVersions
data: 1
state: present