summaryrefslogblamecommitdiffstats
path: root/roles/live/tasks/main.yml
blob: 8ff5903c4385ca03eeb2aebe7bef658823ee23ca (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                







                                                       
- 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