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