--- # Ownership copied verbatim from the playbook this replaces; verified # mechanically against `git show HEAD:` rather than retyped from memory. - name: Create bitcoin.conf configuration file ansible.builtin.template: src: bitcoin.conf.j2 dest: "{{ bitcoin_conf_dir }}/bitcoin.conf" owner: "{{ bitcoin_user }}" group: "{{ bitcoin_group }}" mode: '0640' notify: Restart bitcoind - name: Create systemd service file for bitcoind ansible.builtin.template: src: bitcoind.service.j2 dest: /etc/systemd/system/bitcoind.service owner: root group: root mode: '0644' notify: Restart bitcoind