luzifer/luzifer-base.install

20 lines
593 B
Text
Raw Normal View History

2019-08-11 11:57:50 +00:00
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
2019-08-11 11:57:50 +00:00
}
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
2019-08-11 11:57:50 +00:00
}