I'm using Ansible to provision a Windows Server 2016. This is the task I'm running:
- name: Ensure 'Audit System Extension' is set to 'Success and Failure'
win_audit_policy_system:
subcategory: Security System Extension
audit_type: success, failure
output:
changed: [10.8.20.177] => {
"changed": true,
"current_audit_policy": {
"security system extension": "success and failure"
}
}
When I go to check on the machine if the change was really applied I find that it is not. I tried restarting the machine and it still didn't apply. Windows Server 2016 system audit policies shows the following

Any ideas what's going on?