Commit b0e70c2b by ansible

no message

1 parent f4adfb7d
Showing with 19 additions and 10 deletions
......@@ -7,8 +7,8 @@
updateURL: https://{{ app_fqdn }}:444/index.html
dmaserverName: 'server_name {{ app_fqdn }};'
wdchatserverName: 'server_name {{ app_fqdn }};'
hostName: wdchat
etcHost: '127.0.0.1 wdchatgateway localhost wdchatengine wdchat'
hostName: {{ hostname }}
etcHost: '127.0.0.1 wdchatgateway localhost wdchatengine {{ hostname }}'
tasks:
- import_role:
name: deploy
\ No newline at end of file
- name: Start SoftwareStack
shell: /opt/stack/mongodb/ctlscript.sh start
when: app_name == 'dma' or app_name == 'wdchat'
- name: Start SoftwareStack
shell: /opt/stack/postgres/ctlscript.sh start
when: app_name == 'dma' or app_name == 'wdchat'
- name: Start SoftwareStack
shell: /opt/stack/mongodb1/ctlscript.sh start
when: app_name == 'dma'
- name: Start SoftwareStack
shell: /opt/stack/mongodb2/ctlscript.sh start
- name: Start SoftwareStack
shell: /opt/stack/postgres/ctlscript.sh start
when: app_name == 'dma'
- name: Initial Application based on Application Name
import_tasks: initial_user_db_wdchat.yml
......@@ -37,11 +41,15 @@
#- import_tasks: update_data_dma_3.4.0.yml
# when: app_name == 'dma' and app_version == '3.4.0'
- name: Stop SoftwareStack
- name: Start SoftwareStack
shell: /opt/stack/mongodb/ctlscript.sh stop
- name: Stop SoftwareStack
when: app_name == 'dma' or app_name == 'wdchat'
- name: Start SoftwareStack
shell: /opt/stack/postgres/ctlscript.sh stop
when: app_name == 'dma' or app_name == 'wdchat'
- name: Start SoftwareStack
shell: /opt/stack/mongodb1/ctlscript.sh stop
- name: Stop SoftwareStack
when: app_name == 'dma'
- name: Start SoftwareStack
shell: /opt/stack/mongodb2/ctlscript.sh stop
- name: Stop SoftwareStack
shell: /opt/stack/postgres/ctlscript.sh stop
\ No newline at end of file
when: app_name == 'dma'
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!