Commit ff20dfde by ansible

no message

1 parent 7441ccef
- name: Install NginX
unarchive:
src: /tmp/source/webgate.3.1.0.zip
dest: /opt/stack
remote_src: yes
group: nginx
owner: nginx
mode: 0755
- file:
path: '/opt/{{ item.dir }}'
group: nginx
owner: nginx
mode: 0755
state: directory
recurse: yes
with_items:
- { dir: 'nginx' }
- name: Install Admin Wildfly
command: /tmp/source/bitnami-wildfly-10.1.0-1-linux-x64-installer.run --optionfile /tmp/configuration/admin.conf --mode unattended
- name: Stop All Wildfly Stack
command: /opt/stack/admin/ctlscript.sh stop
- name: Start Only Wildfly Service
command: /opt/stack/admin/ctlscript.sh start wildfly
- name: Install NginX
unarchive:
src: /tmp/source/webgate.3.1.0.zip
dest: /opt/stack
remote_src: yes
group: nginx
owner: nginx
mode: 0755
- file:
path: '/opt/{{ item.dir }}'
group: nginx
owner: nginx
mode: 0755
state: directory
recurse: yes
with_items:
- { dir: 'nginx' }
- name: Install DMA Manager DB
command: /tmp/source/bitnami-mongodb-3.4.4-0-linux-x64-installer.run --optionfile /tmp/configuration/dmamanager.conf --mode unattended
- name: Move MQTT to Working Folder
command: cp /tmp/source/message.3.0.2.tar.gz /opt/stack/message.3.0.2.tar.gz
- name: Extract MQTT
command: tar -zxvf /opt/stack/message.3.0.2.tar.gz -C /opt/stack/
- name: Delete File
command: rm /opt/stack/message.3.0.2.tar.gz
\ No newline at end of file
- name: Install software stack based on Application Name
import_tasks: wdchat-mongodb.yml
when: app_name == 'dma'
import_tasks: nginx.yml
when: app_name == 'dma' or app_name == 'wdchat'
- import_tasks: wdchat-mongodb.yml
when: app_name == 'dma' or app_name == 'wdchat'
- import_tasks: wdchat-postgres.yml
when: app_name == 'dma'
when: app_name == 'dma' or app_name == 'wdchat'
- import_tasks: mqtt.yml
when: app_name == 'dma'
when: app_name == 'dma' or app_name == 'wdchat'
- import_tasks: runtime.yml
when: app_name == 'dma'
when: app_name == 'dma' or app_name == 'wdchat'
- import_tasks: admin.yml
when: app_name == 'dma'
when: app_name == 'dma' or app_name == 'wdchat'
- import_tasks: dmamanager.yml
when: app_name == 'dma'
- import_tasks: servicegateway.yml
when: app_name == 'dma'
\ No newline at end of file
- import_tasks: nginx.yml
when: app_name == 'dma'
\ No newline at end of file
- name: Install NginX
unarchive:
src: /tmp/source/webgate.3.1.0.zip
dest: /opt/stack
remote_src: yes
group: nginx
owner: nginx
mode: 0755
- file:
path: '/opt/{{ item.dir }}'
group: nginx
owner: nginx
mode: 0755
state: directory
recurse: yes
with_items:
- { dir: 'nginx' }
- name: Install Runtime Wildfly
command: /tmp/source/bitnami-wildfly-10.1.0-1-linux-x64-installer.run --optionfile /tmp/configuration/runtime.conf --mode unattended
- name: Stop All Wildfly Stack
command: /opt/stack/runtime/ctlscript.sh stop
- name: Start Only Wildfly Service
command: /opt/stack/runtime/ctlscript.sh start wildfly
- name: Install NginX
unarchive:
src: /tmp/source/webgate.3.1.0.zip
dest: /opt/stack
remote_src: yes
group: nginx
owner: nginx
mode: 0755
- file:
path: '/opt/{{ item.dir }}'
group: nginx
owner: nginx
mode: 0755
state: directory
recurse: yes
with_items:
- { dir: 'nginx' }
- name: Install DMA Manager DB
command: /tmp/source/bitnami-mongodb-3.4.4-0-linux-x64-installer.run --optionfile /tmp/configuration/servicegateway.conf --mode unattended
- name: Install NginX
unarchive:
src: /tmp/source/webgate.3.1.0.zip
dest: /opt/stack
remote_src: yes
group: nginx
owner: nginx
mode: 0755
- file:
path: '/opt/{{ item.dir }}'
group: nginx
owner: nginx
mode: 0755
state: directory
recurse: yes
with_items:
- { dir: 'nginx' }
- name: Install WDCHAT DB
command: /tmp/source/bitnami-mongodb-3.4.4-0-linux-x64-installer.run --optionfile /tmp/configuration/wdchat-mongo.conf --mode unattended
- name: Install NginX
unarchive:
src: /tmp/source/webgate.3.1.0.zip
dest: /opt/stack
remote_src: yes
group: nginx
owner: nginx
mode: 0755
- file:
path: '/opt/{{ item.dir }}'
group: nginx
owner: nginx
mode: 0755
state: directory
recurse: yes
with_items:
- { dir: 'nginx' }
- name: Install postgres software
command: /tmp/source/bitnami-postgresql-9.6.2-0-linux-x64-installer.run --optionfile /tmp/configuration/wdchat-postgres.conf --mode unattended
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!