Skip to content

Commit

Permalink
add nuget script
Browse files Browse the repository at this point in the history
  • Loading branch information
willtome committed Oct 2, 2023
1 parent 2897f77 commit eb5d9be
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Empty file added windows/Install-NuGet.ps1
Empty file.
6 changes: 5 additions & 1 deletion windows/powershell_dsc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,17 @@
gather_facts: false

tasks:
- name: Make Nuget Package Provider exist
ansible.windows.win_powershell:
script: "{{ lookup('file', 'Install-NuGet.ps1') }}"
check_mode: false

- name: Setup the SecurityPolicyDSC module
community.windows.win_psmodule:
name: SecurityPolicyDSC
module_version: 2.10.0.0
state: present
accept_license: true
force: true

- name: Set password history
ansible.windows.win_dsc:
Expand Down

0 comments on commit eb5d9be

Please sign in to comment.