summaryrefslogtreecommitdiffstats
path: root/vagrant_support/jobqueue.yml
blob: aeec65cbc7c8e23e9ac6cb5e5da7881ec3b76bd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
- name: install job queue
  command: /vagrant/jobqueue.pl install chdir=/vagrant creates=/etc/init.d/bugzilla-queue

- name: configure jobqueue
  copy:
    dest: /etc/sysconfig/bugzilla-queue
    mode: 0644
    content: |
      BUGZILLA=/vagrant
      USER=vagrant

- name: fix jobqueue perms
  file:
    path: /vagrant/jobqueue.pl
    mode: 0750

- name: enable jobqueue
  service: name=bugzilla-queue enabled=yes

- name: restart jobqueue
  service: name=bugzilla-queue state=restarted