+ qrcodes now part of project athens scope

This commit is contained in:
shockrah 2022-07-24 23:33:50 -07:00
parent 836101beca
commit 026ee129eb
5 changed files with 35 additions and 7 deletions

View File

@ -28,7 +28,7 @@
dest: "/etc/nginx/sites-available/{{item}}"
loop:
- search.project-athens.xyz
- gallery.leftcoast.space
- files.leftcoast.space
- name: Enable Sites in Nginx
file:
@ -37,7 +37,7 @@
state: link
loop:
- search.project-athens.xyz
- gallery.leftcoast.space
- files.leftcoast.space
- name: Restart Nginx
service:
@ -50,4 +50,4 @@
--domains "{{item}}"
loop:
- search.project-athens.xyz
- gallery.leftcoast.space
- files.leftcoast.space

View File

@ -0,0 +1,13 @@
# This file basically contains the base configuration for qrcodes.leftcoast.space
# This is to be installed before running certbot against it as this only sets us
# up for correct HTTP(not TLS) based connections
server {
root /var/www/qrcodes.leftcoast.space;
index index.html;
server_name qrcodes.leftcoast.space;
location / {
try_files $uri $uri/ =404;
}
}

View File

@ -16,3 +16,4 @@
- freechat.shockrah.xyz
- shockrah.xyz
- resume.shockrah.xyz
- qrcodes.leftcoast.space

View File

@ -6,12 +6,13 @@
tasks:
- name: Push Nginx Site Configs into available site listings
copy:
src: "{{item}}"
src: "base-site-conf/{{item}}"
dest: /etc/nginx/sites-available/
loop:
- base-site-conf/freechat.shockrah.xyz
- base-site-conf/resume.shockrah.xyz
- base-site-conf/shockrah.xyz
- freechat.shockrah.xyz
- resume.shockrah.xyz
- shockrah.xyz
- qrcodes.leftcoast.space
- name: Enable Static Sites in Nginx
file:
@ -22,6 +23,7 @@
- freechat.shockrah.xyz
- resume.shockrah.xyz
- shockrah.xyz
- qrcodes.leftcoast.space
- name: Restart Nginx Service
service:

View File

@ -0,0 +1,12 @@
---
- hosts: web
remote_user: web
tasks:
- name: Fetch variables from role specific vars file
include_vars:
file: ../vars/main.yml
- name: Push out qrcodes public content
copy:
src: "{{QRCODES_LOCAL_PUBLIC}}/public/"
dest: /var/www/qrcodes.leftcoast.space