diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2024-04-16 19:45:09 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2024-04-16 19:45:09 +0200 |
commit | ef56d42b7e06061db5afbf9011e76d308c936080 (patch) | |
tree | 1f61386c53ecb311e7e79f619aa59a42f146c898 /roles/woodpecker/handlers/main.yml | |
parent | 607d91ed23eaa9d1fb9cc9e1279537b8805e236e (diff) | |
download | ansible_collection-ef56d42b7e06061db5afbf9011e76d308c936080.tar.gz |
woodpecker agent and server
Diffstat (limited to 'roles/woodpecker/handlers/main.yml')
-rw-r--r-- | roles/woodpecker/handlers/main.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/roles/woodpecker/handlers/main.yml b/roles/woodpecker/handlers/main.yml new file mode 100644 index 0000000..d3f8d99 --- /dev/null +++ b/roles/woodpecker/handlers/main.yml @@ -0,0 +1,14 @@ +--- +- name: Handle systemd + systemd: + name: woodpecker-server + enabled: true + state: restarted + become: true + +- name: Handle systemd agent + systemd: + name: woodpecker-agent + enabled: true + state: restarted + become: true |