enable/disable lbu with a variable
parent
248e163fd1
commit
e1c577cc95
|
@ -10,6 +10,7 @@
|
|||
users:
|
||||
- rilla
|
||||
- ansible
|
||||
use_lbu: true
|
||||
post_tasks:
|
||||
- name: lbu commit
|
||||
lbu:
|
||||
|
@ -21,3 +22,5 @@
|
|||
become_method: doas
|
||||
roles:
|
||||
- basic
|
||||
vars:
|
||||
use_lbu: false
|
||||
|
|
|
@ -39,3 +39,4 @@
|
|||
exclude:
|
||||
- /var/lib/ansible/.ansible
|
||||
- /var/lib/ansible/.ash_history
|
||||
when: ansible_distribution == "Alpine" and use_lbu
|
||||
|
|
|
@ -36,4 +36,4 @@
|
|||
- /home/rilla/.ssh/authorized_keys
|
||||
exclude:
|
||||
- /home/rilla/.ash_history
|
||||
when: ansible_distribution == "Alpine"
|
||||
when: ansible_distribution == "Alpine" and use_lbu
|
||||
|
|
|
@ -37,4 +37,4 @@
|
|||
- /var/lib/woodpecker/.ssh/authorized_keys
|
||||
exclude:
|
||||
- /var/lib/woodpecker/.ash_history
|
||||
when: ansible_distribution == "Alpine"
|
||||
when: ansible_distribution == "Alpine" and use_lbu
|
||||
|
|
Loading…
Reference in New Issue