Michael Grote
8fe2c55d25
Reviewed-on: #617 Co-authored-by: Michael Grote <michael.grote@posteo.de> Co-committed-by: Michael Grote <michael.grote@posteo.de>
17 lines
394 B
YAML
17 lines
394 B
YAML
---
|
|
|
|
- name: set cap_net_bind_service # noqa no-changed-when
|
|
become: true
|
|
ansible.builtin.command: setcap 'cap_net_bind_service=+ep' /usr/local/bin/blocky
|
|
|
|
- name: systemctl daemon-reload
|
|
become: true
|
|
ansible.builtin.systemd:
|
|
daemon_reload: true
|
|
|
|
- name: restart service unit
|
|
become: true
|
|
ansible.builtin.systemd:
|
|
name: blocky.service
|
|
state: restarted
|
|
enabled: true
|