Commit 8c82f658 by ansible

no message

1 parent 63fc65f2
Showing with 7 additions and 9 deletions
...@@ -14,11 +14,9 @@ ...@@ -14,11 +14,9 @@
- hosts: install-wdchat-dma - hosts: install-wdchat-dma
become: true become: true
tasks: tasks:
- name: Extract File - name: Move NginX to Working Folder
command: tar -zxvf /tmp/source/webgate.singlehost.dma.plus.wdchat.conf.tar.gz -C /tmp/source/ command: cp /tmp/source/webgate.singlehost.dma.plus.wdchat.conf.tar.gz /opt/stack/webgate.singlehost.dma.plus.wdchat.conf.tar.gz
- name: Backup current configuration - name: Extract NginX
command: mv /opt/stack/nginx/conf /opt/stack/nginx/bkconf command: tar -zxvf /opt/stack/webgate.singlehost.dma.plus.wdchat.conf.tar.gz -C /opt/stack/
- name: Deploy new configuration - name: Delete File
command: mv /tmp/source/conf /opt/stack/nginx/. command: rm /opt/stack/webgate.singlehost.dma.plus.wdchat.conf.tar.gz
- name: Delete backup configuration \ No newline at end of file
command: rm -r /opt/stack/nginx/bkconf
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!