diff --git a/playbooks/wol_enable.yml b/playbooks/wol_enable.yml index a268551..b4c5dc6 100644 --- a/playbooks/wol_enable.yml +++ b/playbooks/wol_enable.yml @@ -3,8 +3,9 @@ become: true tasks: - name: Creating config + become: yes ansible.builtin.copy: - become: yes + dest: "/etc/systemd/system/wol.service" content: | [Unit]