Commit a7c1d12e by ansible

no message

1 parent b0e70c2b
- name: Stop All Service
shell: /opt/stack/script/ctlscript.sh stop
- name: Remove Admin Wildfly if exist - name: Remove Admin Wildfly if exist
file: file:
state: absent state: absent
......
- name: Stop All Service
shell: /opt/stack/script/ctlscript.sh stop
- name: Remove dmamanager DB if exist - name: Remove dmamanager DB if exist
file: file:
state: absent state: absent
......
...@@ -8,6 +8,10 @@ ...@@ -8,6 +8,10 @@
- { owner: root, path: /opt/stack/dma/conf } - { owner: root, path: /opt/stack/dma/conf }
- { owner: root, path: /home/chroot/wdftp } - { owner: root, path: /home/chroot/wdftp }
# First piority becuase it provide script to manage all service. DON'T CHANGE
- import_tasks: system-management.yml
when: app_name == 'dma' or app_name == 'wdchat'
- name: Install software stack based on Application Name - name: Install software stack based on Application Name
import_tasks: nginx.yml import_tasks: nginx.yml
when: app_name == 'dma' or app_name == 'wdchat' when: app_name == 'dma' or app_name == 'wdchat'
...@@ -33,6 +37,3 @@ ...@@ -33,6 +37,3 @@
- import_tasks: servicegateway.yml - import_tasks: servicegateway.yml
when: app_name == 'dma' when: app_name == 'dma'
\ No newline at end of file
- import_tasks: system-management.yml
when: app_name == 'dma' or app_name == 'wdchat'
\ No newline at end of file
- name: Stop All Service
shell: /opt/stack/script/ctlscript.sh stop
- name: Remove MQTT if exist - name: Remove MQTT if exist
file: file:
state: absent state: absent
......
- name: Stop All Service
shell: /opt/stack/script/ctlscript.sh stop
- name: Remove Nginx if exist - name: Remove Nginx if exist
file: file:
state: absent state: absent
......
- name: Stop All Service
shell: /opt/stack/script/ctlscript.sh stop
- name: Remove Runtime Wildfly if exist - name: Remove Runtime Wildfly if exist
file: file:
state: absent state: absent
......
- name: Stop All Service
shell: /opt/stack/script/ctlscript.sh stop
- name: Remove servicegateway DB if exist - name: Remove servicegateway DB if exist
file: file:
state: absent state: absent
......
- name: Stop All Service
shell: /opt/stack/script/ctlscript.sh stop
- name: Remove wdchat-mongo DB if exist - name: Remove wdchat-mongo DB if exist
file: file:
state: absent state: absent
......
- name: Stop All Service
shell: /opt/stack/script/ctlscript.sh stop
- name: Remove wdchat-postgres DB if exist - name: Remove wdchat-postgres DB if exist
file: file:
state: absent state: absent
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!