Commit af06e1db by ansible

Change Script Name

            - From deploy_initial_mongo_db To deploy_initial_mongo_data
            - From deploy_initial_wdchat_mongo To deploy_mongo_newdb_newuser

Change Group Name
1 parent 06a9e508
---
- hosts: deployed-wdchat-dma, deploy-wdchat-dma-single-host
- hosts: deploy-dma-ssl-certificate, deploy-wdchat-ssl-certificate
become: true
tasks:
- name: Deploy NTP Configuration
......
---
- hosts: deployed-wdchat-dma, deploy-wdchat-dma-single-host
- hosts: deploy-dma-ssl-certificate, deploy-wdchat-ssl-certificate
become: true
tasks:
- name: Deploy Server Certificate File
......
---
- hosts: deployed-wdchat-dma, deploy-wdchat-dma-single-host
become: true
tasks:
- name: Deploy iChat-1.1.1
command: cp /tmp/application/iChat-1.1.1.war /opt/stack/runtime/wildfly/standalone/deployments/iChat.war
- name: Deploy ExAuthenWS
command: cp /tmp/application/ExAuthenWS.war /opt/stack/runtime/wildfly/standalone/deployments/ExAuthenWS.war
- name: Deploy iAuthen-1.1.1
command: cp /tmp/application/iAuthen-1.1.1.war /opt/stack/runtime/wildfly/standalone/deployments/iAuthen.war
- name: Deploy iChatGateway
command: cp /tmp/application/iChatGateway.war /opt/stack/runtime/wildfly/standalone/deployments/iChatGateway.war
- name: Deploy iChatManagement-1.1.1
command: cp /tmp/application/iChatManagement-1.1.1.war /opt/stack/admin/wildfly/standalone/deployments/iChatManagement.war
- name: Deploy iConsole
command: cp /tmp/application/iConsole.war /opt/stack/admin/wildfly/standalone/deployments/iConsole.war
- name: Deploy serviceGateway-1.5.1
command: cp /tmp/application/serviceGateway-1.5.1.RELEASE.war /opt/stack/runtime/wildfly/standalone/deployments/serviceGateway.war
- name: Deploy dmaManager-3.0.2
command: cp /tmp/application/dmaManager.war /opt/stack/runtime/wildfly/standalone/deployments/dmaManager.war
- name: Deploy dmaEngine-3.0.2
command: cp /tmp/application/dmaEngine.war /opt/stack/runtime/wildfly/standalone/deployments/dmaEngine.war
- name: Deploy dma configuration
command: cp /tmp/application/dmaconfig.properties /opt/stack/dma/conf/dmaconfig.properties
- file:
path: /opt/stack/dma/conf/dmaconfig.properties
owner: root
group: root
mode: 0744
- hosts: patch-dma-3.0.3
become: true
tasks:
......@@ -51,6 +22,8 @@
command: cp /tmp/application/ims-1.0.0.war /opt/stack/runtime/wildfly/standalone/deployments/ims.war
- name: Deploy jsb
command: cp /tmp/application/jsb.war /opt/stack/admin/wildfly/standalone/deployments/jsb.war
- name: Deploy iConsole-3.0.6.0
command: cp /tmp/application/iConsole-3.0.6.0.war /opt/stack/admin/wildfly/standalone/deployments/iConsole.war
- hosts: patch-dma-3.0.6
become: true
......@@ -66,4 +39,42 @@
- name: Deploy ims-1.0.0
command: cp /tmp/application/ims-1.0.0.war /opt/stack/runtime/wildfly/standalone/deployments/ims.war
- name: Deploy jsb
command: cp /tmp/application/jsb.war /opt/stack/admin/wildfly/standalone/deployments/jsb.war
\ No newline at end of file
command: cp /tmp/application/jsb.war /opt/stack/admin/wildfly/standalone/deployments/jsb.war
- name: Deploy iConsole-3.0.6.0
command: cp /tmp/application/iConsole-3.0.6.0.war /opt/stack/admin/wildfly/standalone/deployments/iConsole.war
- hosts: patch-dma-3.1.0
become: true
tasks:
- name: Deploy iChat-3.0.5
command: cp /tmp/application/iChat-1.1.1.war /opt/stack/runtime/wildfly/standalone/deployments/iChat.war
- name: Deploy serviceGateway-3.1.3
command: cp /tmp/application/serviceGateway-3.1.3.war /opt/stack/runtime/wildfly/standalone/deployments/serviceGateway.war
- name: Deploy dmaManager-3.1.0.0
command: cp /tmp/application/dmaManager-3.1.0.0.war /opt/stack/runtime/wildfly/standalone/deployments/dmaManager.war
- name: Deploy dmaEngine-3.0.5
command: cp /tmp/application/dmaEngine-3.0.5.war /opt/stack/runtime/wildfly/standalone/deployments/dmaEngine.war
- name: Deploy ims-1.0.0
command: cp /tmp/application/ims-1.0.0.war /opt/stack/runtime/wildfly/standalone/deployments/ims.war
- name: Deploy jsb
command: cp /tmp/application/jsb.war /opt/stack/admin/wildfly/standalone/deployments/jsb.war
- name: Deploy iConsole-3.0.6.0
command: cp /tmp/application/iConsole-3.0.6.0.war /opt/stack/admin/wildfly/standalone/deployments/iConsole.war
- hosts: patch-dma-3.1.2
become: true
tasks:
- name: Deploy iChat-3.0.5
command: cp /tmp/application/iChat-1.1.1.war /opt/stack/runtime/wildfly/standalone/deployments/iChat.war
- name: Deploy serviceGateway-3.1.6.0
command: cp /tmp/application/serviceGateway-3.1.6.0.war /opt/stack/runtime/wildfly/standalone/deployments/serviceGateway.war
- name: Deploy dmaManager-3.0.6.0
command: cp /tmp/application/dmaManager-3.1.2.0.war /opt/stack/runtime/wildfly/standalone/deployments/dmaManager.war
- name: Deploy dmaEngine-3.0.5
command: cp /tmp/application/dmaEngine-3.0.5.war /opt/stack/runtime/wildfly/standalone/deployments/dmaEngine.war
- name: Deploy ims-1.0.0
command: cp /tmp/application/ims-1.0.0.war /opt/stack/runtime/wildfly/standalone/deployments/ims.war
- name: Deploy jsb
command: cp /tmp/application/jsb.war /opt/stack/admin/wildfly/standalone/deployments/jsb.war
- name: Deploy iConsole-3.0.6.0
command: cp /tmp/application/iConsole-3.0.6.0.war /opt/stack/admin/wildfly/standalone/deployments/iConsole.war
\ No newline at end of file
---
- hosts: deployed-wdchat-dma
- hosts: deployed-iConsole-two-host
become: true
tasks:
- name: Copy iConsole
......@@ -11,7 +11,7 @@
- name: Setup Schedule
command: /opt/Schedule/add_schedule
- hosts: deploy-wdchat-dma-single-host
- hosts: deploy-iConsole-single-host
become: true
tasks:
- name: Copy iConsole
......
---
- hosts: deployed-wdchat-dma, deploy-wdchat-dma-single-host
- hosts: deploy-wdchat-postgresql-302
become: true
tasks:
- name: Create Database WDCHAT & WDAUTHEN & USER
......@@ -30,4 +30,25 @@
expect:
command: /opt/stack/postgres/postgresql/bin/psql --host=127.0.0.1 --port=7432 --username=wdauthen -d WDAUTHEN -f /tmp/configuration/4_Initial.WDAUTHEN.sql
responses:
'Password for user wdauthen': 'BBEcLWu5Cdzy3aeH'
\ No newline at end of file
'Password for user wdauthen': 'BBEcLWu5Cdzy3aeH'
- hosts: deploy-dma-postgresql-302, deploy-dma-postgresql-312
become: true
tasks:
- name: Create Database WDCHAT
expect:
command: /opt/stack/postgres/postgresql/bin/psql --host=127.0.0.1 --port=7432 --username=postgres -f /tmp/configuration/0_Create.User.sql
responses:
'Password for user postgres': 'password'
- name: Create DMA Table
expect:
command: /opt/stack/postgres/postgresql/bin/psql --host=127.0.0.1 --port=7432 --username=wdchat -d WDCHAT -f /tmp/configuration/Create.DMA.Table.sql
responses:
'Password for user wdchat': 'BBRyAPNh6g4H9qte'
- name: Initial WDCHAT
expect:
command: /opt/stack/postgres/postgresql/bin/psql --host=127.0.0.1 --port=7432 --username=wdchat -d WDCHAT -f /tmp/configuration/2_Initial.WDCHAT.sql
responses:
'Password for user wdchat': 'BBRyAPNh6g4H9qte'
\ No newline at end of file
---
- hosts: deployed-wdchat-dma-302
- hosts: deploy-dma-mongo-302
become: true
tasks:
- name: Insert Initial Data for DMAMANAGER 7018
......@@ -8,7 +8,7 @@
- name: Insert Initial Data for SERVICEGATEWAY 7019
command: /tmp/configuration/update_servicegateway.sh
- hosts: deployed-wdchat-dma-305
- hosts: deploy-dma-mongo-305
become: true
tasks:
- name: Insert Initial Data for DMAMANAGER 7018
......@@ -17,7 +17,7 @@
- name: Insert Initial Data for SERVICEGATEWAY 7019
command: /tmp/configuration/update_servicegateway_313.sh
- hosts: deployed-wdchat-dma-306
- hosts: deploy-dma-mongo-306
become: true
tasks:
- name: Insert Initial Data for DMAMANAGER 7018
......
---
- hosts: deployed-wdchat-dma, deploy-wdchat-dma-single-host
- hosts: deploy-dma-mongo-newdatabase-newuser-302
become: true
tasks:
- name: Create User & Database for WDCHAT 7017
......@@ -12,4 +12,22 @@
command: /tmp/source/mongo_7019.sh
- name: Create User & Database for DMAENGINE 7020
command: /tmp/source/mongo_7020.sh
\ No newline at end of file
command: /tmp/source/mongo_7020.sh
- hosts: deploy-dma-mongo-newdatabase-newuser-306
become: true
tasks:
- name: Create User & Database for WDCHAT 7017
command: /tmp/source/mongo_7017.sh
- name: Create User & Database for DMAMANAGER 7018
command: /tmp/source/mongo_7018.sh
- name: Create User & Database for SERVICEGATEWAY 7019
command: /tmp/source/mongo_7019.sh
- hosts: deploy-wdchat-mongo-newdatabase-newuser-302
become: true
tasks:
- name: Create User & Database for WDCHAT 7017
command: /tmp/source/mongo_7017.sh
\ No newline at end of file
---
- hosts: deployed-wdchat-dma, deploy-wdchat-dma-single-host
- hosts: deploy-security-file
become: true
tasks:
- name: Copy root
......
---
- hosts: deployed-wdchat-dma, deploy-wdchat-dma-single-host
- hosts: deploy-dma-singlehost-script
become: true
tasks:
- name: Copy Script
......
---
- hosts: deployed-wdchat-dma, deploy-wdchat-dma-single-host
- hosts: deploy-wdchat-as-service, deploy-dma-as-service
become: true
tasks:
- name: Add Engine Service
......
---
- hosts: deployed-wdchat-dma, deploy-wdchat-dma-single-host
- hosts: patch-wdchat-302
become: true
tasks:
- name: Deploy iChat-1.1.1.war
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!