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

14 lines
836 B
YAML

---
ansible_connection: winrm
ansible_winrm_server_cert_validation: ignore
ansible_password: "{{ lookup('community.general.passwordstore', 'chvoc/ansible/windows/' + inventory_hostname + '/login/' + ansible_user) }}"
# credetials
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') }}"
# manage autologon
win_obs_init__autologon: true
win_obs_init__autologon_password: "{{ lookup('community.general.passwordstore', 'chvoc/ansible/windows/' + inventory_hostname + '/login/obs') }}"