This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#check role | |
--- | |
- name: Python version check | |
raw: python -V 2>&1 | tr -d "Ppython. " | |
register: py_version | |
- name: Set Python version fact | |
set_fact: | |
py_ver: "{{ py_version.stdout | int }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# PASSENGER DEV OK | |
server { | |
listen 80; | |
listen 443 ssl http2; | |
listen [::]:80; | |
listen [::]:443 ssl http2; | |
server_name webapp.example.com; | |
location /.well-known/acme-challenge/ { alias /opt/le/.acme-challenges/; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
upstream my-web-app-here { | |
server 127.0.0.1:8080; | |
} | |
server { | |
listen 80; | |
listen 443 ssl http2; | |
listen [::]:80; | |
listen [::]:443 ssl http2; |