mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-26 21:45:20 +02:00
Solved path bug
This commit is contained in:
parent
630fd43382
commit
2887e54cca
@ -39,7 +39,9 @@
|
|||||||
|
|
||||||
- name: refresh systemctl service when SYS_SERVICE_ALL_ENABLED
|
- name: refresh systemctl service when SYS_SERVICE_ALL_ENABLED
|
||||||
command: /bin/true
|
command: /bin/true
|
||||||
notify: "refresh systemctl service"
|
notify:
|
||||||
|
- reload system daemon
|
||||||
|
- refresh systemctl service
|
||||||
when:
|
when:
|
||||||
- SYS_SERVICE_ALL_ENABLED | bool
|
- SYS_SERVICE_ALL_ENABLED | bool
|
||||||
- not systemctl_uses_at
|
- not systemctl_uses_at
|
||||||
|
@ -4,4 +4,4 @@ OnFailure={{ SYS_SERVICE_ON_FAILURE_COMPOSE }}
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=/bin/bash {{ systemctl_id | get_service_script_path( service_src | filetype ) }}
|
ExecStart=/bin/bash {{ systemctl_id | get_service_script_path( service_src | basename | regex_replace('\\.j2$', '') | filetype ) }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user