Skip to content

Commit 3886cf7

Browse files
committed
Add test start
1 parent 3c51fb5 commit 3886cf7

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

docker-start.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
when: ansible_memtotal_mb > 100000
2222
- name: Redirect oozie working directory so that workflow runs are persisted
2323
lineinfile: dest=~seqware/.seqware/settings regexp='^OOZIE_WORK_DIR.*' line='OOZIE_WORK_DIR=/datastore' state=present
24+
- name: Start tomcat7
25+
service: name=tomcat7 state=started
26+
ignore_errors: yes
2427

2528
- hosts: all
2629
sudo: True

docker-test-start.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
# file: docker-start.yml
3+
# This file is used for installing a seqware container
4+
5+
- hosts: all
6+
sudo: True
7+
tasks:
8+
- name: Start all required services
9+
service: name={{ item }} state=restarted
10+
with_items:
11+
- postgresql
12+
- hadoop-hdfs-datanode
13+
- hadoop-hdfs-namenode
14+
- hadoop-0.20-mapreduce-jobtracker
15+
- hadoop-0.20-mapreduce-tasktracker
16+
- oozie
17+
- gridengine-master
18+
- gridengine-exec
19+
- name: Bump up control node memory allocation for high-mem machines
20+
lineinfile: dest=~seqware/.seqware/settings regexp='^SW_CONTROL_NODE_MEMORY.*' line='SW_CONTROL_NODE_MEMORY=4000' state=present
21+
when: ansible_memtotal_mb > 100000
22+
- name: Redirect oozie working directory so that workflow runs are persisted
23+
lineinfile: dest=~seqware/.seqware/settings regexp='^OOZIE_WORK_DIR.*' line='OOZIE_WORK_DIR=/datastore' state=present
24+
25+
- hosts: all
26+
sudo: True
27+
roles:
28+
- { role: grid-engine, single_node: True , grid_engine_master: True }

0 commit comments

Comments
 (0)