blob: 9379b0c3c1e6a8ef827c42a667fd85fd5275bdb7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
- name: grant perl ability to listen to privledged ports
command: setcap 'cap_net_bind_service=+ep' /usr/bin/perl
- name: hypnotoad daemon sysconfig
copy:
dest: /etc/sysconfig/hypnotoad
mode: 0644
content: |
BUGZILLA=/vagrant
USER=vagrant
- name: hypnotoad daemon init file
template:
dest: /etc/init.d/hypnotoad
src: hypnotoad
owner: root
group: root
mode: 0755
- name: enable hypnotoad
service: name=hypnotoad enabled=yes
when: LAZY == 0
- name: restart hypnotoad
service: name=hypnotoad state=restarted
|