-
Notifications
You must be signed in to change notification settings - Fork 76
/
converge.yml
35 lines (34 loc) · 1.11 KB
/
converge.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
- name: Converge
hosts: all
tasks:
- name: Configure NGINX
ansible.builtin.include_role:
name: ansible-role-nginx-config
vars:
nginx_config_debug_output: true
nginx_config_upload_enable: true
nginx_config_upload:
- src: ../common/files/snippets/location_snippet.conf
dest: /etc/nginx/snippets
backup: true
- src: ../common/files/http/
dest: /etc/nginx/conf.d
backup: true
nginx_config_upload_html_enable: true
nginx_config_upload_html:
- src: ../common/files/www/index.html
dest: /usr/share/nginx/html
backup: true
nginx_config_upload_ssl_enable: true
nginx_config_upload_ssl_crt:
- src: ../common/files/ssl/molecule.crt
dest: /etc/ssl/certs
backup: true
nginx_config_upload_ssl_key:
- src: ../common/files/ssl/molecule.key
dest: /etc/ssl/private
backup: true
- src: ../common/files/ssl/rand.key
dest: /etc/ssl/private
backup: true