Skip to content

Commit

Permalink
Update manual tasks with new audit -7
Browse files Browse the repository at this point in the history
Signed-off-by: Frederick Witty <[email protected]>
  • Loading branch information
frederickw082922 committed Aug 15, 2023
1 parent c5eea8b commit 86ab461
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# adding github settings to show correct language
*.sh linguist-detectable=true
*.yml linguist-detectable=true
*.ps1 linguist-detectable=true
*.j2 linguist-detectable=true
*.md linguist-documentation
14 changes: 14 additions & 0 deletions tasks/prelim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,17 @@
when:
- wn22_00_000390 or
wn22_00_000400

- name: Check For SecGuide.admx In PolicyDefinitions\en-US
ansible.windows.win_find:
paths: '{{ item }}:\Windows\PolicyDefinitions\en-US'
patterns: SecGuide.adml
hidden: true
changed_when: false
failed_when: false
with_items:
- "{{ wn22_drive_letters.stdout_lines }}"
register: wn22_secguide_adml_audit
when:
- wn22_00_000390 or
wn22_00_000400

0 comments on commit 86ab461

Please sign in to comment.