+ Simplifying site deployment playbooks
This commit is contained in:
parent
7a952887f7
commit
4b6b32e7fd
@ -5,12 +5,4 @@
|
|||||||
- name: Push blog content
|
- name: Push blog content
|
||||||
copy:
|
copy:
|
||||||
src: "{{BLOG_LOCAL_PUBLIC}}/public"
|
src: "{{BLOG_LOCAL_PUBLIC}}/public"
|
||||||
dest: /var/www/
|
dest: /var/www/shockrah.xyz
|
||||||
|
|
||||||
- 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
|
|
||||||
|
@ -5,13 +5,4 @@
|
|||||||
- name: Push docs content
|
- name: Push docs content
|
||||||
copy:
|
copy:
|
||||||
src: "{{FC_LOCAL_DOCS}}/public"
|
src: "{{FC_LOCAL_DOCS}}/public"
|
||||||
dest: /var/www/
|
dest: /var/www/freechat
|
||||||
|
|
||||||
- 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
|
|
||||||
|
|
||||||
|
@ -8,11 +8,4 @@
|
|||||||
- name: Push out resume public content
|
- name: Push out resume public content
|
||||||
copy:
|
copy:
|
||||||
src: "{{RESUME_LOCAL_PUBLIC}}/public"
|
src: "{{RESUME_LOCAL_PUBLIC}}/public"
|
||||||
dest: /var/www/
|
dest: /var/www/resume.shockrah.xyz
|
||||||
- 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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user