2019-08-11 11:57:50 +00:00
|
|
|
post_install() {
|
2024-08-28 19:41:53 +00:00
|
|
|
# Apply base-setup playbook
|
2024-08-28 22:47:09 +00:00
|
|
|
env ANSIBLE_CONFIG=usr/share/luzifer/base-setup/ansible.cfg \
|
2024-08-28 22:45:13 +00:00
|
|
|
ansible-playbook \
|
2024-08-28 19:41:53 +00:00
|
|
|
--diff \
|
|
|
|
--extra-vars "pacman_action=install" \
|
|
|
|
--inventory usr/share/luzifer/base-setup/inventory \
|
|
|
|
usr/share/luzifer/base-setup/playbook.yaml
|
2019-08-11 11:57:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
post_upgrade() {
|
2024-08-28 13:21:25 +00:00
|
|
|
# Apply base-setup playbook
|
2024-08-28 22:47:09 +00:00
|
|
|
env ANSIBLE_CONFIG=usr/share/luzifer/base-setup/ansible.cfg \
|
2024-08-28 22:45:13 +00:00
|
|
|
ansible-playbook \
|
2024-08-28 13:21:25 +00:00
|
|
|
--diff \
|
2024-08-28 19:41:53 +00:00
|
|
|
--extra-vars "pacman_action=upgrade" \
|
2024-08-28 13:21:25 +00:00
|
|
|
--inventory usr/share/luzifer/base-setup/inventory \
|
|
|
|
usr/share/luzifer/base-setup/playbook.yaml
|
2019-08-11 11:57:50 +00:00
|
|
|
}
|