Commit cf0a14b6 by ansible

no message

1 parent 612f724f
Showing with 15 additions and 7 deletions
- name: Start SoftwareStack - name: Start SoftwareStack
shell: /opt/stack/mongodb/ctlscript.sh start 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 - name: Start SoftwareStack
shell: /opt/stack/mongodb1/ctlscript.sh start shell: /opt/stack/mongodb1/ctlscript.sh start
when: app_name == 'dma'
- name: Start SoftwareStack - name: Start SoftwareStack
shell: /opt/stack/mongodb2/ctlscript.sh start shell: /opt/stack/mongodb2/ctlscript.sh start
- name: Start SoftwareStack when: app_name == 'dma'
shell: /opt/stack/postgres/ctlscript.sh start
- name: Deploy Application based on Application Name - name: Deploy Application based on Application Name
import_tasks: apimanager.yml import_tasks: apimanager.yml
...@@ -15,11 +19,15 @@ ...@@ -15,11 +19,15 @@
- import_tasks: wdchat.yml - import_tasks: wdchat.yml
when: app_name == 'wdchat' when: app_name == 'wdchat'
- name: Stop SoftwareStack - name: Start SoftwareStack
shell: /opt/stack/mongodb/ctlscript.sh stop 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 shell: /opt/stack/mongodb1/ctlscript.sh stop
- name: Stop SoftwareStack when: app_name == 'dma'
- name: Start SoftwareStack
shell: /opt/stack/mongodb2/ctlscript.sh stop shell: /opt/stack/mongodb2/ctlscript.sh stop
- name: Stop SoftwareStack when: app_name == 'dma'
shell: /opt/stack/postgres/ctlscript.sh stop
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!