ansible win_security_policy - find section

37 views
Skip to first unread message

Pierre Ochsenbein

unread,
Feb 6, 2020, 10:37:42 AM2/6/20
to Ansible Project
Hi guys,

How can I find section name for win_security_policy?

- name: Allow Auto Update
  win_security_policy:
    section: System Update 
    key: AllowAutoUpdate
    value: 0

TASK [windows-gpo : Allow Auto Update] *******************************************************************************************************************************************
fatal: [10.113.51.36]: FAILED! => {"changed": false, "key": "AllowAutoUpdate", "msg": "The section 'System Update' does not exist in SecEdit.exe output ini", "section": "System Update", "value": 0}
Reply all
Reply to author
Forward
0 new messages