install_webgate.yml 1.18 KB
---
- hosts: install-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: install-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: install-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