blob: 8ff5903c4385ca03eeb2aebe7bef658823ee23ca (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
- name: Create the directory for this year
file:
path: /var/www/live.emacsconf.org/{{ item }}
owner: "{{ emacsconf_user }}"
group: "{{ emacsconf_user }}"
state: directory
loop:
- "{{ emacsconf_year }}"
- "{{ emacsconf_year }}/watch"
- name: Set up nginx.conf
template:
src: live.emacsconf.org.conf
dest: /etc/nginx/sites-available/live.emacsconf.org
- name: Reload nginx
service:
name: nginx
state: reloaded
|