summaryrefslogtreecommitdiffstats
path: root/vagrant_support/hypnotoad.yml
blob: a66f9ba0471799e0fc86ca69e33a3e6ec07744f8 (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
27
- 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
      MOJO_MODE=development

- 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