refactor lbu commit into a role
parent
91a5a975e1
commit
dd7ae7c64b
|
@ -7,15 +7,11 @@
|
||||||
- users
|
- users
|
||||||
- sshd
|
- sshd
|
||||||
- wifi
|
- wifi
|
||||||
|
- lbu_commit
|
||||||
vars:
|
vars:
|
||||||
users:
|
users:
|
||||||
- rilla
|
- rilla
|
||||||
- ansible
|
- ansible
|
||||||
use_lbu: true
|
|
||||||
post_tasks:
|
|
||||||
- name: lbu commit
|
|
||||||
lbu:
|
|
||||||
commit: true
|
|
||||||
|
|
||||||
- name: caladan deployment
|
- name: caladan deployment
|
||||||
hosts: caladan
|
hosts: caladan
|
||||||
|
@ -31,7 +27,6 @@
|
||||||
- rilla
|
- rilla
|
||||||
- ansible
|
- ansible
|
||||||
- woodpecker
|
- woodpecker
|
||||||
use_lbu: false
|
|
||||||
|
|
||||||
- name: narwhal deployment
|
- name: narwhal deployment
|
||||||
hosts: narwhal
|
hosts: narwhal
|
||||||
|
|
|
@ -8,6 +8,7 @@ all:
|
||||||
ansible_port: 22
|
ansible_port: 22
|
||||||
ansible_python_interpreter: /usr/bin/python3
|
ansible_python_interpreter: /usr/bin/python3
|
||||||
ansible_become_method: doas
|
ansible_become_method: doas
|
||||||
|
use_lbu: true
|
||||||
|
|
||||||
caladan:
|
caladan:
|
||||||
ansible_host: caladan
|
ansible_host: caladan
|
||||||
|
@ -15,6 +16,7 @@ all:
|
||||||
ansible_port: 22
|
ansible_port: 22
|
||||||
ansible_python_interpreter: /usr/bin/python3
|
ansible_python_interpreter: /usr/bin/python3
|
||||||
ansible_become_method: doas
|
ansible_become_method: doas
|
||||||
|
use_lbu: false
|
||||||
|
|
||||||
narwhal:
|
narwhal:
|
||||||
ansible_host: 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