49 lines
1.0 KiB
YAML

---
# handlers file for build
#
- name: restart_bitcoin
ansible.builtin.systemd_service:
name: bitcoin-node.service
scope: user
state: restarted
- name: rebuild_bitcoin
ansible.builtin.shell:
chdir: ~/containers/bitcoin
cmd: ./build.sh
when: disable_rebuilds != true
- name: rebuild_electrs
ansible.builtin.shell:
chdir: ~/containers/electrs
cmd: ./build.sh
when: disable_rebuilds != true
- name: rebuild_clightning
ansible.builtin.shell:
chdir: ~/containers/clightning
cmd: ./build.sh
when: disable_rebuilds != true
- name: rebuild_rtl
ansible.builtin.shell:
chdir: ~/containers/rtl
cmd: ./build.sh
when: disable_rebuilds != true
- name: rebuild_docs
ansible.builtin.shell:
chdir: ~/containers/docs
cmd: ./build.sh
when: disable_rebuilds != true
- name: republish_docs
ansible.builtin.shell:
chdir: ~/vol/docs
cmd: podman exec -it systemd-docs-node mkdocs build
- name: reload_systemctl
ansible.builtin.systemd_service:
daemon_reload: true
scope: user