18 lines
341 B
YAML
18 lines
341 B
YAML
|
---
|
||
|
- hosts: web
|
||
|
remote_user: web
|
||
|
tasks:
|
||
|
- name: Push docs content
|
||
|
copy:
|
||
|
src: "{{FC_LOCAL_DOCS}}/public"
|
||
|
dest: /var/www/
|
||
|
|
||
|
- name: Remove old blog content
|
||
|
file:
|
||
|
file: /var/www/freechat
|
||
|
state: absent
|
||
|
|
||
|
- name: Pull up blog content
|
||
|
command: mv /var/www/public /var/www/freechat
|
||
|
|