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