+ Simplifying site deployment playbooks

This commit is contained in:
shockrah
2022-02-08 19:21:14 -08:00
parent 7a952887f7
commit 4b6b32e7fd
3 changed files with 3 additions and 27 deletions

View File

@@ -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