1
0
Fork 0
mirror of https://github.com/DO1JLR/ansible_linux_desktop_setup.git synced 2024-09-14 19:54:51 +02:00

insert passwords from gopass

This commit is contained in:
L3D 2024-04-16 14:39:30 +02:00
parent a884f22f1d
commit 24a847c01b
Signed by: l3d
GPG key ID: CD08445BFF4313D1
4 changed files with 11 additions and 2 deletions

@ -1 +1 @@
Subproject commit 9307b76e744661ef8d62bf829f02393100e8ba91
Subproject commit 6c8f949ba950309931d8931f4820b99707898850

@ -1 +1 @@
Subproject commit 406e3cf339a07c7933e98b88d49e74e88671d26b
Subproject commit 05b0b7cd2d8e223348bdc39b047c0b9f0ee70bbb

View file

@ -9,6 +9,7 @@ l3d_users__default_users:
shell: '/bin/bash'
create_home: true
pubkeys: "{{ lookup('url', 'https://github.com/do1jlr.keys', split_lines=False) }}"
password: "{{ lookup('community.general.passwordstore', gopass_prefix + 'ansible/hosts/' + inventory_hostname + '/users/lilian/pwd_hash') }}"
exklusive_pubkeys: true
admin: true
admin_commands: 'ALL'
@ -16,6 +17,7 @@ l3d_users__default_users:
admin_ansible_login: true
- name: 'alice'
state: 'absent'
remove: true
#
# l3d.users
@ -95,3 +97,6 @@ l3d_pkgs__install_extra_packages:
# globaly enably simple versionscheck - if available
submodules_versioncheck: true
# gopass dir
gopass_prefix: ''

View file

@ -8,8 +8,12 @@ l3d_users__local_users:
shell: '/bin/bash'
create_home: true
pubkeys: "{{ lookup('url', 'https://github.com/do1jlr.keys', split_lines=False) }}"
password: "{{ lookup('community.general.passwordstore', 'private/ansible/hosts/' + inventory_hostname + '/users/lilian/pwd_hash') }}"
exklusive_pubkeys: true
admin: true
admin_commands: 'ALL'
admin_nopassword: false
admin_ansible_login: true
# gopass dir
gopass_prefix: 'private/'