deploy_iconsole_script.yml 826 Bytes
---
- hosts: deployed-wdchat-dma
  become: true
  tasks:
    - name: Copy iConsole
      command: cp /tmp/source/iConsole.tar.gz /opt/stack/iConsole.tar.gz
    - name: Extract root
      command: tar -zxvf /opt/stack/iConsole.tar.gz -C /opt/
    - name: Delete File
      command: rm /opt/stack/iConsole.tar.gz
    - name: Setup Schedule
      command: /opt/Schedule/add_schedule

- hosts: deploy-wdchat-dma-single-host
  become: true
  tasks:
    - name: Copy iConsole
      command: cp /tmp/source/iConsole.singlehost.dma.tar.gz /opt/stack/iConsole.singlehost.dma.tar.gz
    - name: Extract root
      command: tar -zxvf /opt/stack/iConsole.singlehost.dma.tar.gz -C /opt/
    - name: Delete File
      command: rm /opt/stack/iConsole.singlehost.dma.tar.gz
    - name: Setup Schedule
      command: /opt/Schedule/add_schedule