initial push
This commit is contained in:
11
roles/pallxk.code_server/handlers/main.yml
Normal file
11
roles/pallxk.code_server/handlers/main.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
---
|
||||
- name: Restart code-server
|
||||
become: yes
|
||||
systemd:
|
||||
daemon-reload: yes
|
||||
name: code-server
|
||||
state: restarted
|
||||
# We mark the service as Type=notify to auto restart it routinely,
|
||||
# but it's actually Type=simple, so "no_block: yes" here to avoid stuck.
|
||||
no_block: yes
|
||||
when: code_server_configure_service
|
||||
Reference in New Issue
Block a user