added more handlers and removed unneeded task items

This commit is contained in:
b0xxer
2024-02-10 09:00:26 -06:00
parent 7c64f2522e
commit fc4522094b
3 changed files with 7 additions and 8 deletions
+5
View File
@@ -1,2 +1,7 @@
---
# handlers file for bitcoin
#
- name: reload_systemctl
ansible.builtin.systemd_service:
daemon_reload: True
scope: user
+1 -7
View File
@@ -18,16 +18,10 @@
mode: '0755'
- name: Copy bitcoin-node.container file
register: sysd_reload
ansible.builtin.template:
src: bitcoin-node.container.j2
dest: /home/b0xxy/.config/containers/systemd/bitcoin-node.container
- name: Reload systemctl
ansible.builtin.systemd_service:
daemon_reload: True
scope: user
when: sysd_reload['changed']==True
notify: reload_systemctl
#- name: Create bitcoin-node container
#containers.podman.podman_container: