refactor lbu commit into a role
parent
91a5a975e1
commit
dd7ae7c64b
|
@ -7,15 +7,11 @@
|
|||
- users
|
||||
- sshd
|
||||
- wifi
|
||||
- lbu_commit
|
||||
vars:
|
||||
users:
|
||||
- rilla
|
||||
- ansible
|
||||
use_lbu: true
|
||||
post_tasks:
|
||||
- name: lbu commit
|
||||
lbu:
|
||||
commit: true
|
||||
|
||||
- name: caladan deployment
|
||||
hosts: caladan
|
||||
|
@ -31,7 +27,6 @@
|
|||
- rilla
|
||||
- ansible
|
||||
- woodpecker
|
||||
use_lbu: false
|
||||
|
||||
- name: narwhal deployment
|
||||
hosts: narwhal
|
||||
|
|
|
@ -8,6 +8,7 @@ all:
|
|||
ansible_port: 22
|
||||
ansible_python_interpreter: /usr/bin/python3
|
||||
ansible_become_method: doas
|
||||
use_lbu: true
|
||||
|
||||
caladan:
|
||||
ansible_host: caladan
|
||||
|
@ -15,6 +16,7 @@ all:
|
|||
ansible_port: 22
|
||||
ansible_python_interpreter: /usr/bin/python3
|
||||
ansible_become_method: doas
|
||||
use_lbu: false
|
||||
|
||||
narwhal:
|
||||
ansible_host: narwhal
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
- name: lbu commit
|
||||
lbu:
|
||||
commit: true
|
||||
when: ansible_distribution == "Alpine" and use_lbu
|
Loading…
Reference in New Issue