improve variable path
This commit is contained in:
parent
64a25c272e
commit
e604e146cf
1 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@
|
|||
ansible.windows.win_user:
|
||||
name: 'ansible'
|
||||
state: present
|
||||
password: "{{ lookup('community.general.passwordstore', win_base_init__pass_prefix + '/' + inventory_hostname + '/password create=true length=16 nosymbols=true') }}"
|
||||
password: "{{ lookup('community.general.passwordstore', win_base_init__pass_prefix + '/' + inventory_hostname + '/login/ansible create=true length=42 nosymbols=true') }}"
|
||||
account_disabled: false
|
||||
description: 'Account to run ansible commands at this WINDOWS host'
|
||||
groups_action: 'add'
|
||||
|
@ -17,6 +17,6 @@
|
|||
password_never_expires: true
|
||||
user_cannot_change_password: true
|
||||
groups:
|
||||
- 'Benutzer'
|
||||
- 'Ansibles'
|
||||
- 'Administratoren'
|
||||
- 'Benutzer'
|
||||
|
|
Loading…
Reference in a new issue