idempotence improvement
This commit is contained in:
parent
6249b9b886
commit
ddf576f3c3
2 changed files with 2 additions and 0 deletions
|
@ -17,3 +17,4 @@
|
||||||
user_cannot_change_password: true
|
user_cannot_change_password: true
|
||||||
groups:
|
groups:
|
||||||
- 'S-1-5-32-545' # Users
|
- 'S-1-5-32-545' # Users
|
||||||
|
register: _user
|
||||||
|
|
|
@ -21,3 +21,4 @@
|
||||||
become_user: "{{ win_obs_init__user }}"
|
become_user: "{{ win_obs_init__user }}"
|
||||||
vars:
|
vars:
|
||||||
ansible_become_pass: '{{ win_obs_init__password }}'
|
ansible_become_pass: '{{ win_obs_init__password }}'
|
||||||
|
changed_when: _user.changed
|
||||||
|
|
Loading…
Reference in a new issue