ansible_playbook_windows_ob.../group_vars/obs/vars.yml

14 lines
836 B
YAML
Raw Normal View History

2022-01-01 22:22:12 +01:00
---
ansible_connection: winrm
ansible_winrm_server_cert_validation: ignore
ansible_password: "{{ lookup('community.general.passwordstore', 'chvoc/ansible/windows/' + inventory_hostname + '/login/' + ansible_user) }}"
# credetials
2022-01-02 19:09:53 +01:00
gopass_password_prefix: 'chvoc/ansible/windows/'
win_base_init__created_user_password: "{{ lookup('community.general.passwordstore', gopass_password_prefix + inventory_hostname + '/login/ansible create=true length=64 nosymbols=true') }}"
win_obs_init__password: "{{ lookup('community.general.passwordstore', gopass_password_prefix + inventory_hostname + '/login/obs create=true length=16 nosymbols=true') }}"
2022-01-01 22:22:12 +01:00
# manage autologon
win_obs_init__autologon: true
win_obs_init__autologon_password: "{{ lookup('community.general.passwordstore', 'chvoc/ansible/windows/' + inventory_hostname + '/login/obs') }}"