From b194632a44d1815d99e9f81b3669e815905dc3d3 Mon Sep 17 00:00:00 2001 From: L3D Date: Thu, 29 Dec 2022 00:59:30 +0100 Subject: [PATCH] improve ansible gopass --- ansible.cfg | 2 +- group_vars/obs/vars.yml | 2 +- roles/do1jlr.win_obs_setup | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ansible.cfg b/ansible.cfg index dfd3368..90a7f40 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -12,4 +12,4 @@ fact_caching_connection = $HOME/.ansible/facts [passwordstore_lookup] backend = gopass -directory = '~/.local/share/gopass/stores/root' +directory = '~/.local/share/gopass/stores/chvoc' diff --git a/group_vars/obs/vars.yml b/group_vars/obs/vars.yml index 389eefd..3a7f29b 100644 --- a/group_vars/obs/vars.yml +++ b/group_vars/obs/vars.yml @@ -15,7 +15,7 @@ ansible_password: "{{ lookup('community.general.passwordstore', 'chvoc/ansible/w # 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') }}" +win_obs_init__password: "{{ lookup('community.general.passwordstore', gopass_password_prefix + inventory_hostname + '/login/voc create=true length=8 nosymbols=true') }}" # manage autologon win_obs_init__autologon: true diff --git a/roles/do1jlr.win_obs_setup b/roles/do1jlr.win_obs_setup index a000515..6b86e9d 160000 --- a/roles/do1jlr.win_obs_setup +++ b/roles/do1jlr.win_obs_setup @@ -1 +1 @@ -Subproject commit a000515372e64202a5ecad7f6a3162b6dfaabf1b +Subproject commit 6b86e9d710ed073088e82b4d0b343dc932cb2920