update voc rdp pem idempotence

This commit is contained in:
L3D 2022-12-30 01:53:31 +01:00
parent 04e6d2d4c8
commit dca7aa6301
Signed by: l3d
GPG key ID: CD08445BFF4313D1

View file

@ -42,3 +42,4 @@
ansible.windows.win_powershell: ansible.windows.win_powershell:
script: 'Add-LocalGroupMember -Group "Remote Desktop Users" -Member {{ win__special_rdp_user }}' script: 'Add-LocalGroupMember -Group "Remote Desktop Users" -Member {{ win__special_rdp_user }}'
when: win__allow_special_rdp_user | bool when: win__allow_special_rdp_user | bool
changed_when: _a.changed