mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-26 15:13:20 +02:00
23 lines
572 B
YAML
23 lines
572 B
YAML
![]() |
---
|
||
|
|
||
|
- name: Deploy permission script
|
||
|
template: src=perms.sh.j2 dest={{ rpm_root_dir }}/bin/perms.sh mode=755
|
||
|
notify: reset permissions
|
||
|
tags: rpm
|
||
|
|
||
|
- name: Install watcher daemon
|
||
|
copy: src=watcher.pl dest={{ rpm_root_dir }}/bin/watcher.pl mode=755
|
||
|
notify: restart build-watcher
|
||
|
tags: rpm
|
||
|
|
||
|
- name: Deploy systemd unit
|
||
|
template: src=build-watcher.service.j2 dest=/etc/systemd/system/build-watcher.service
|
||
|
notify: restart build-watcher
|
||
|
register: rpm_unit
|
||
|
tags: rpm
|
||
|
|
||
|
- name: Reload systemd
|
||
|
systemd: daemon_reload=True
|
||
|
when: rpm_unit.changed
|
||
|
tags: rpm
|