blob: bca3a3e0ac22a37c11df309eb5cd902e0abf074e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
---
- name: Configure patchwork servers
hosts: patchwork
become: yes
vars_files:
- "{{secrets_dir}}/host_vars/{{inventory_hostname}}"
roles:
- postgres
- patchwork-deps
- letsencrypt
- {role: django, tags: [django]}
- {role: apache-site, src: patchwork/apache.conf, config: "{{inventory_hostname}}", tags: [apache] }
- name: Configure extra syncing for patches.linaro.org
hosts: patches.linaro.org
become: yes
tasks:
- name: Install crontab entry
template: src=patchwork/patches.cron.d dest=/etc/cron.d/patches
owner=root group=root mode=0644
|