summaryrefslogtreecommitdiffstats
path: root/tasks/main.yml
blob: 7411ca5969ee59431351146f796ecf1f359de6b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
---
# tasks file for MicroJoe.nginx

- name: Install nginx and dependencies
  apt:
    name:
      - nginx
      - php-cli
      - php-fpm
      - php-gd
      - php-intl
      - php-xml
    state: present
  with_items:

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