From f6fea253840756bcac4656e3931fb978b28f62f7 Mon Sep 17 00:00:00 2001 From: shockrah Date: Mon, 27 Dec 2021 23:51:39 -0800 Subject: [PATCH] * Fixing issue with file removal --- playbooks/beta/local-website-pushes.yml | 38 ---------------------- playbooks/beta/websites/update-blog.yml | 2 +- playbooks/beta/websites/update-fc-docs.yml | 2 +- 3 files changed, 2 insertions(+), 40 deletions(-) delete mode 100644 playbooks/beta/local-website-pushes.yml diff --git a/playbooks/beta/local-website-pushes.yml b/playbooks/beta/local-website-pushes.yml deleted file mode 100644 index 3dc3d47..0000000 --- a/playbooks/beta/local-website-pushes.yml +++ /dev/null @@ -1,38 +0,0 @@ -# This will take care of pushing out all local website content onto -# the remote host server ready to be configured for HTTPS ---- -- hosts: web - remote_user: web - tasks: - - name: Clean out freechat content - file: - path: /var/www/freechat - state: absent - - - name: Push freechat chat content - copy: - src: "{{FC_LOCAL_DOCS}}/public" - dest: /var/www/ - - - name: Pull up freechat public directory - command: mv /var/www/public /var/www/freechat - - - name: Push out resume public content - copy: - src: "{{RESUME_LOCAL_PUBLIC}}/public" - dest: /var/www/ - - - name: Pull up resume content - command: mv /var/www/public /var/www/resume.shockrah.xyz - - - name: Push blog content - copy: - src: "{{BLOG_LOCAL_PUBLIC}}/public" - dest: /var/www/ - - - name: Pull up blog content - command: mv /var/www/public /var/www/shockrah.xyz - - - - diff --git a/playbooks/beta/websites/update-blog.yml b/playbooks/beta/websites/update-blog.yml index ec0407c..b4f03cd 100644 --- a/playbooks/beta/websites/update-blog.yml +++ b/playbooks/beta/websites/update-blog.yml @@ -9,7 +9,7 @@ - name: Remove old blog content file: - file: /var/www/shockrah.xyz + path: /var/www/shockrah.xyz state: absent - name: Pull up blog content diff --git a/playbooks/beta/websites/update-fc-docs.yml b/playbooks/beta/websites/update-fc-docs.yml index 345b994..be535de 100644 --- a/playbooks/beta/websites/update-fc-docs.yml +++ b/playbooks/beta/websites/update-fc-docs.yml @@ -9,7 +9,7 @@ - name: Remove old blog content file: - file: /var/www/freechat + path: /var/www/freechat state: absent - name: Pull up blog content