2021-12-20 19:25:17 +01:00
|
|
|
---
|
2021-12-20 19:27:44 +01:00
|
|
|
- name: create OBS User
|
2021-12-20 19:25:17 +01:00
|
|
|
ansible.windows.win_user:
|
|
|
|
name: 'obs'
|
|
|
|
state: present
|
2021-12-20 19:55:11 +01:00
|
|
|
password: "{{ lookup('community.general.passwordstore', win_obs_init__pass_prefix + '/' + inventory_hostname + '/login/obs create=true length=16 nosymbols=true') }}"
|
2021-12-20 19:25:17 +01:00
|
|
|
account_disabled: false
|
|
|
|
description: 'Account to run OBS at this WINDOWS host'
|
|
|
|
groups_action: 'add'
|
|
|
|
password_expired: false
|
|
|
|
password_never_expires: true
|
|
|
|
user_cannot_change_password: true
|
|
|
|
groups:
|
|
|
|
- 'Benutzer'
|