+ qrcodes now part of project athens scope
This commit is contained in:
parent
836101beca
commit
026ee129eb
@ -28,7 +28,7 @@
|
|||||||
dest: "/etc/nginx/sites-available/{{item}}"
|
dest: "/etc/nginx/sites-available/{{item}}"
|
||||||
loop:
|
loop:
|
||||||
- search.project-athens.xyz
|
- search.project-athens.xyz
|
||||||
- gallery.leftcoast.space
|
- files.leftcoast.space
|
||||||
|
|
||||||
- name: Enable Sites in Nginx
|
- name: Enable Sites in Nginx
|
||||||
file:
|
file:
|
||||||
@ -37,7 +37,7 @@
|
|||||||
state: link
|
state: link
|
||||||
loop:
|
loop:
|
||||||
- search.project-athens.xyz
|
- search.project-athens.xyz
|
||||||
- gallery.leftcoast.space
|
- files.leftcoast.space
|
||||||
|
|
||||||
- name: Restart Nginx
|
- name: Restart Nginx
|
||||||
service:
|
service:
|
||||||
@ -50,4 +50,4 @@
|
|||||||
--domains "{{item}}"
|
--domains "{{item}}"
|
||||||
loop:
|
loop:
|
||||||
- search.project-athens.xyz
|
- search.project-athens.xyz
|
||||||
- gallery.leftcoast.space
|
- files.leftcoast.space
|
||||||
|
13
playbooks/beta/base-site-conf/qrcodes.leftcoast.space
Normal file
13
playbooks/beta/base-site-conf/qrcodes.leftcoast.space
Normal 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;
|
||||||
|
}
|
||||||
|
}
|
@ -16,3 +16,4 @@
|
|||||||
- freechat.shockrah.xyz
|
- freechat.shockrah.xyz
|
||||||
- shockrah.xyz
|
- shockrah.xyz
|
||||||
- resume.shockrah.xyz
|
- resume.shockrah.xyz
|
||||||
|
- qrcodes.leftcoast.space
|
||||||
|
@ -6,12 +6,13 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- name: Push Nginx Site Configs into available site listings
|
- name: Push Nginx Site Configs into available site listings
|
||||||
copy:
|
copy:
|
||||||
src: "{{item}}"
|
src: "base-site-conf/{{item}}"
|
||||||
dest: /etc/nginx/sites-available/
|
dest: /etc/nginx/sites-available/
|
||||||
loop:
|
loop:
|
||||||
- base-site-conf/freechat.shockrah.xyz
|
- freechat.shockrah.xyz
|
||||||
- base-site-conf/resume.shockrah.xyz
|
- resume.shockrah.xyz
|
||||||
- base-site-conf/shockrah.xyz
|
- shockrah.xyz
|
||||||
|
- qrcodes.leftcoast.space
|
||||||
|
|
||||||
- name: Enable Static Sites in Nginx
|
- name: Enable Static Sites in Nginx
|
||||||
file:
|
file:
|
||||||
@ -22,6 +23,7 @@
|
|||||||
- freechat.shockrah.xyz
|
- freechat.shockrah.xyz
|
||||||
- resume.shockrah.xyz
|
- resume.shockrah.xyz
|
||||||
- shockrah.xyz
|
- shockrah.xyz
|
||||||
|
- qrcodes.leftcoast.space
|
||||||
|
|
||||||
- name: Restart Nginx Service
|
- name: Restart Nginx Service
|
||||||
service:
|
service:
|
||||||
|
12
playbooks/beta/websites/update-qrcodes.yml
Normal file
12
playbooks/beta/websites/update-qrcodes.yml
Normal 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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user