Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
ansible
/
dma-playbook
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit e2c24f65
authored
May 01, 2018
by
ansible
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
1 parent
c6d0539c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
28 deletions
roles/initial/tasks/main.yml
roles/initial/tasks/main.yml
View file @
e2c24f6
-
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
when
:
app_name == 'dma'
-
name
:
Initial Application based on Application Name
import_tasks
:
initial_user_db_wdchat.yml
when
:
app_name == 'wdchat'
...
...
@@ -39,17 +26,4 @@
#- import_tasks: update_data_dma_3.2.1.yml
# when: app_name == 'dma' and app_version == '3.2.6'
#- import_tasks: update_data_dma_3.4.0.yml
# when: app_name == 'dma' and app_version == '3.4.0'
#- name: Stop SoftwareStack
# shell: /opt/stack/mongodb/ctlscript.sh stop
# when: app_name == 'dma' or app_name == 'wdchat'
#- name: Stop SoftwareStack
# shell: /opt/stack/postgres/ctlscript.sh stop
# when: app_name == 'dma' or app_name == 'wdchat'
#- name: Stop SoftwareStack
# shell: /opt/stack/mongodb1/ctlscript.sh stop
# when: app_name == 'dma'
#- name: Stop SoftwareStack
# shell: /opt/stack/mongodb2/ctlscript.sh stop
# when: app_name == 'dma'
\ No newline at end of file
# when: app_name == 'dma' and app_version == '3.4.0'
\ No newline at end of file
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment