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
|
|
|
|
password: "{{ lookup('community.general.passwordstore', win_base_init__pass_prefix + '/' + inventory_hostname + '/login/obs create=true length=16 nosymbols=true') }}"
|
|
|
|
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'
|