blob: 4143880147c3f5771b386a040ec0992b12784443 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
---
- name: Install packages
apt:
name:
- nginx
become: yes
- name: Check for changed cert
command: /bin/true
when:
- '{{ cert_changed | default(False) }}'
notify:
- restart nginx
- name: Install nginx config
template:
src: nginx.conf.j2
dest: /etc/nginx/sites-available/default
become: yes
notify:
- restart nginx
|