From 4b6b32e7fd4f611e2adddc300e05dec06500d497 Mon Sep 17 00:00:00 2001 From: shockrah Date: Tue, 8 Feb 2022 19:21:14 -0800 Subject: [PATCH] + Simplifying site deployment playbooks --- playbooks/beta/websites/update-blog.yml | 10 +--------- playbooks/beta/websites/update-fc-docs.yml | 11 +---------- playbooks/beta/websites/update-resume.yml | 9 +-------- 3 files changed, 3 insertions(+), 27 deletions(-) diff --git a/playbooks/beta/websites/update-blog.yml b/playbooks/beta/websites/update-blog.yml index b4f03cd..91b62d4 100644 --- a/playbooks/beta/websites/update-blog.yml +++ b/playbooks/beta/websites/update-blog.yml @@ -5,12 +5,4 @@ - name: Push blog content copy: src: "{{BLOG_LOCAL_PUBLIC}}/public" - dest: /var/www/ - - - name: Remove old blog content - file: - path: /var/www/shockrah.xyz - state: absent - - - name: Pull up blog content - command: mv /var/www/public /var/www/shockrah.xyz + dest: /var/www/shockrah.xyz diff --git a/playbooks/beta/websites/update-fc-docs.yml b/playbooks/beta/websites/update-fc-docs.yml index be535de..a83c486 100644 --- a/playbooks/beta/websites/update-fc-docs.yml +++ b/playbooks/beta/websites/update-fc-docs.yml @@ -5,13 +5,4 @@ - name: Push docs content copy: src: "{{FC_LOCAL_DOCS}}/public" - dest: /var/www/ - - - name: Remove old blog content - file: - path: /var/www/freechat - state: absent - - - name: Pull up blog content - command: mv /var/www/public /var/www/freechat - + dest: /var/www/freechat diff --git a/playbooks/beta/websites/update-resume.yml b/playbooks/beta/websites/update-resume.yml index 7d2d937..950ea8d 100644 --- a/playbooks/beta/websites/update-resume.yml +++ b/playbooks/beta/websites/update-resume.yml @@ -8,11 +8,4 @@ - name: Push out resume public content copy: src: "{{RESUME_LOCAL_PUBLIC}}/public" - dest: /var/www/ - - name: Remove old content - file: - path: /var/www/resume.shockrah.xyz - state: absent - - - name: Pull up resume content - command: mv /var/www/public /var/www/resume.shockrah.xyz + dest: /var/www/resume.shockrah.xyz