This commit is contained in:
willtome
2022-09-09 14:40:59 -04:00
parent 240774c2c3
commit f372a39c6c
3 changed files with 3 additions and 4 deletions

View File

@@ -9,6 +9,7 @@
name: SecurityPolicyDSC
module_version: 2.10.0.0
state: present
accept_license: yes
- name: Set password history
ansible.windows.win_dsc:

View File

@@ -166,7 +166,7 @@ controller_templates:
- question_name: PowerShell Script
type: textarea
variable: ps_script
default: "Get-Service | Where-Object -FilterScript running | Select-Object -Property 'Name'"
default: "Get-Service | Where-Object -FilterScript {$_.Status -eq 'running'} | Select-Object -Property 'Name'"
required: true
- name: "WINDOWS / Query Services"

View File

@@ -5,14 +5,12 @@
vars:
choco_packages:
- name: nodejs
version: 13.0.0
- name: python
version: 3.6.0
tasks:
- name: Install specific versions of packages sequentially
win_chocolatey:
name: "{{ item.name }}"
version: "{{ item.version }}"
state: latest
loop: "{{ choco_packages }}"
- name: Check python version