From 4c8277cef7cffc4f7b6176e9ede7b96385c71f0f Mon Sep 17 00:00:00 2001 From: David Rojas Date: Thu, 19 Nov 2020 09:11:35 -0800 Subject: [PATCH] new demo for windows regedit --- .../windows_regedit_legal_notice.yml | 21 ++++++++++--------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/playbooks/infrastructure/windows_regedit_legal_notice.yml b/playbooks/infrastructure/windows_regedit_legal_notice.yml index c3eca39..2fa52fe 100644 --- a/playbooks/infrastructure/windows_regedit_legal_notice.yml +++ b/playbooks/infrastructure/windows_regedit_legal_notice.yml @@ -3,14 +3,15 @@ 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 }}" + tasks: + - 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 }}" \ No newline at end of file + - name: Updating Legal Notice Text + win_regedit: + path: HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System + name: legalnoticetext + data: "{{ text_legal_notice }}" \ No newline at end of file