wdchat-iconsole.yml 755 Bytes
- name: Begin Install iConsole-Management System
  unarchive:
    src: /tmp/source/wdchat.iConsole.script.onehost.3.0.6.0.tar.gz
    dest: /opt
    remote_src: yes
    group: wdadmin
    owner: wdadmin
    mode: 0755
- file:
    path: '/opt/{{ item.dir }}' 
    group: wdadmin
    owner: wdadmin
    mode: 0755
    state: directory
    recurse: yes
  with_items:
        - { dir: 'Accessor' }
        - { dir: 'iConsole' }
        - { dir: 'json' }
        - { dir: 'Schedule' }
        
- name: Add iConsole Schedule
  shell: /opt/Schedule/add_schedule
  
- name: End Install iConsole-Management System - Deploy iConsole
  shell: cp /tmp/application/{{ app_version }}/iConsole-3.0.6.0.war /opt/stack/admin/wildfly/standalone/deployments/iConsole.war