Files
product-demos/playbooks/infrastructure/windows_regedit_legal_notice.yml
2020-11-19 08:57:12 -08:00

16 lines
467 B
YAML

---
- 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 }}"