summaryrefslogtreecommitdiffstats
path: root/tasks/main.yml
blob: 1246b0998dade58f7ce801ac219322cf8f76e5d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
---
# tasks file for MicroJoe.nginx

- name: Install nginx and dependencies
  apt:
    name:
      - nginx
    state: present

- name: Install nginx snippets
  copy:
    src: files/ssl.conf
    dest: /etc/nginx/snippets/ssl.conf
  notify: restart nginx