improvements with lbu handling
parent
98e608de07
commit
74705d9d20
|
@ -4,3 +4,7 @@
|
|||
become_method: doas
|
||||
roles:
|
||||
- basic
|
||||
post_tasks:
|
||||
- name: lbu commit
|
||||
lbu:
|
||||
commit: true
|
||||
|
|
|
@ -24,12 +24,10 @@
|
|||
path: /home/rilla/.ssh/authorized_keys
|
||||
with_file:
|
||||
- public_keys/yubikey
|
||||
register: ssh_keys
|
||||
|
||||
- name: commit ssh public keys with lbu
|
||||
lbu:
|
||||
include:
|
||||
- /home/rilla/.ssh/authorized_keys
|
||||
|
||||
- name: lbu commit
|
||||
lbu:
|
||||
commit: true
|
||||
when: ansible_distribution == "Alpine" and ssh_keys.changed
|
||||
|
|
Loading…
Reference in New Issue