File tree Expand file tree Collapse file tree 3 files changed +24
-22
lines changed Expand file tree Collapse file tree 3 files changed +24
-22
lines changed Original file line number Diff line number Diff line change 1- # HTTPS Demonstration VM
1+ # HTTPS Self-Signed Certificate Demo VM
22
33This project spins up a VM and demonstrates generating self-signed certificates locally, or Let's Encrypt certificates on a public server.
44
Original file line number Diff line number Diff line change 11---
22- hosts : all
33
4- vars :
5- # Firewall settings.
6- firewall_allowed_tcp_ports :
7- - " 22"
8- - " 80"
9- - " 443"
10-
11- # Python settings.
12- pip_package : python3-pip
13- pip_install_packages : ['pyopenssl']
14-
15- # Nginx settings.
16- nginx_vhosts : []
17- nginx_remove_default_vhost : True
18- nginx_ppa_use : True
19- nginx_ppa_version : stable
20- nginx_docroot : /var/www/html
21-
22- # Self-signed certificate settings.
23- certificate_dir : /etc/letsencrypt/live
24- server_hostname : https.test
4+ vars_files :
5+ - vars/main.yml
256
267 pre_tasks :
278 - name : Ensure apt cache is updated.
Original file line number Diff line number Diff line change 1+ ---
2+ # Firewall settings.
3+ firewall_allowed_tcp_ports :
4+ - " 22"
5+ - " 80"
6+ - " 443"
7+
8+ # Python settings.
9+ pip_package : python3-pip
10+ pip_install_packages : ['pyopenssl']
11+
12+ # Nginx settings.
13+ nginx_vhosts : []
14+ nginx_remove_default_vhost : True
15+ nginx_ppa_use : True
16+ nginx_ppa_version : stable
17+ nginx_docroot : /var/www/html
18+
19+ # Self-signed certificate settings.
20+ certificate_dir : /etc/letsencrypt/live
21+ server_hostname : https.test
You can’t perform that action at this time.
0 commit comments