install_webgate.yml 1.56 KB
---
- hosts: 05_install-webgate-wdchat-dma-twohost
  become: true
  tasks:
    - name: Move NginX to Working Folder
      command: cp /tmp/source/webgate.3.0.4.tar.gz /opt/stack/webgate.3.0.4.tar.gz
    - name: Extract NginX
      command: tar -zxvf /opt/stack/webgate.3.0.4.tar.gz -C /opt/stack/
    - name: Delete File
      command: rm /opt/stack/webgate.3.0.4.tar.gz

- hosts: 05_install-webgate-wdchat-dma
  become: true
  tasks:
    - name: Move NginX to Working Folder
      command: cp /tmp/source/webgate.singlehost.dma.plus.wdchat.conf.tar.gz /opt/stack/webgate.singlehost.dma.plus.wdchat.conf.tar.gz
    - name: Extract NginX
      command: tar -zxvf /opt/stack/webgate.singlehost.dma.plus.wdchat.conf.tar.gz -C /opt/stack/
    - name: Delete File
      command: rm /opt/stack/webgate.singlehost.dma.plus.wdchat.conf.tar.gz

- hosts: 05_install-webgate-dma
  become: true
  tasks:
    - name: Move NginX to Working Folder
      command: cp /tmp/source/webgate.singlehost.dma.conf.tar.gz /opt/stack/webgate.singlehost.dma.conf.tar.gz
    - name: Extract NginX
      command: tar -zxvf /opt/stack/webgate.singlehost.dma.conf.tar.gz -C /opt/stack/
    - name: Delete File
      command: rm /opt/stack/webgate.singlehost.dma.conf.tar.gz
      
- hosts: 05_install-webgate-dma-3.1.0
  become: true
  tasks:
    - name: Move NginX to Working Folder
      command: cp /tmp/source/webgate.3.1.0.zip /opt/stack/webgate.3.1.0.zip
    - name: Extract NginX
      command: tar -zxvf /opt/stack/webgate.3.1.0.zip -C /opt/stack/
    - name: Delete File
      command: rm /opt/stack/webgate.3.1.0.zip