diff --git a/tasks/RedHat/podman.yaml b/tasks/RedHat/podman.yaml index 95e00f8..676d029 100644 --- a/tasks/RedHat/podman.yaml +++ b/tasks/RedHat/podman.yaml @@ -38,12 +38,12 @@ content: "{{ wireguard_ui_systemd_unit.stdout | regex_replace('^#.*', multiline=True) | trim }}" - name: Create WireGuard UI systemd watcher unit - copy: + template: dest: "/etc/systemd/system/{{ wireguard_ui_watcher_systemd_service_unit_name }}" src: wireguard-ui-watcher.service.j2 - name: Create WireGuard UI systemd watcher path - copy: + template: dest: "/etc/systemd/system/{{ wireguard_ui_watcher_systemd_path_unit_name }}" src: wireguard-ui-watcher.path.j2