new demo for windows regedit

This commit is contained in:
David Rojas
2020-11-19 08:57:12 -08:00
parent 533bcc4cea
commit 0de3ccc617
4 changed files with 170 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
---
- name: Edit legal notice on start up message
hosts: windows
gather_facts: False
- name: Updating Legal Notice Title
win_regedit:
path: HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System
name: legalnoticecaption
data: "{{ title_legal_notice }}"
- name: Updating Legal Notice Text
win_regedit:
path: HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System
name: legalnoticetext
data: "{{ text_legal_notice }}"