--- - 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: path: /var/www/freechat state: absent - name: Pull up blog content command: mv /var/www/public /var/www/freechat