From 6664e39509b60d4be269a17f000be9a38fd0f93a Mon Sep 17 00:00:00 2001 From: rakesh kumar Date: Thu, 29 Dec 2022 11:59:42 +0530 Subject: [PATCH] to check cloud storage --- deployment/ansible.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/deployment/ansible.yml b/deployment/ansible.yml index ee7f5073b..89ecef6d9 100644 --- a/deployment/ansible.yml +++ b/deployment/ansible.yml @@ -46,11 +46,18 @@ - name: Update npm shell: cd {{release_path}}/src && npm i && npm i redoc-cli - - name: Update symlink - file: - src={{ release_path }} - dest={{ current_path }} - state=link + - name: Delete Old Folder + shell: rm -rf {{ current_path }} && cd {{ project_path }} && mkdir users + + - name: Move code + shell: mv {{ release_path }} {{ current_path }} + + # - name: Update symlink + # file: + # src={{ release_path }} + # dest={{ current_path }} + # state=link + - name: Delete old pm2 process command: pm2 delete elevate-user ignore_errors: yes