luzifer/luzifer-base.install
Knut Ahlers c8515b90d5
Fix: Env doesn't deal good with --
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-08-29 00:47:09 +02:00

19 lines
593 B
Text

post_install() {
# Apply base-setup playbook
env ANSIBLE_CONFIG=usr/share/luzifer/base-setup/ansible.cfg \
ansible-playbook \
--diff \
--extra-vars "pacman_action=install" \
--inventory usr/share/luzifer/base-setup/inventory \
usr/share/luzifer/base-setup/playbook.yaml
}
post_upgrade() {
# Apply base-setup playbook
env ANSIBLE_CONFIG=usr/share/luzifer/base-setup/ansible.cfg \
ansible-playbook \
--diff \
--extra-vars "pacman_action=upgrade" \
--inventory usr/share/luzifer/base-setup/inventory \
usr/share/luzifer/base-setup/playbook.yaml
}