From 962885470bce7cc78acd871937a0bb9d7e0fab5e Mon Sep 17 00:00:00 2001 From: shockrah Date: Thu, 16 Dec 2021 13:33:10 -0800 Subject: [PATCH] * Fixing server name for freechat - Removing pointless single website push playbook --- .../beta/base-site-conf/freechat.shockrah.xyz | 2 +- playbooks/beta/local-freechat-push.yml | 20 ------------------- 2 files changed, 1 insertion(+), 21 deletions(-) delete mode 100644 playbooks/beta/local-freechat-push.yml diff --git a/playbooks/beta/base-site-conf/freechat.shockrah.xyz b/playbooks/beta/base-site-conf/freechat.shockrah.xyz index 425c172..0a2cd5c 100644 --- a/playbooks/beta/base-site-conf/freechat.shockrah.xyz +++ b/playbooks/beta/base-site-conf/freechat.shockrah.xyz @@ -5,7 +5,7 @@ server { root /var/www/freechat; index index.html; - server_name athens-freechat.shockrah.xyz; + server_name freechat.shockrah.xyz; location / { try_files $uri $uri/ =404; diff --git a/playbooks/beta/local-freechat-push.yml b/playbooks/beta/local-freechat-push.yml deleted file mode 100644 index 616565d..0000000 --- a/playbooks/beta/local-freechat-push.yml +++ /dev/null @@ -1,20 +0,0 @@ -# This will take care of pushing out ---- -- hosts: web - remote_user: web - tasks: - - name: Clean out remote remote site content - file: - path: /var/www/freechat - state: absent - - - name: Push /public directory to /var/www/freechat - copy: - src: "{{FC_LOCAL_DOCS}}/public" - dest: /var/www/ - - - name: Pull up public directory - command: mv /var/www/public /var/www/freechat - - -