Skip to content
Snippets Groups Projects
Commit 1bf0d53a authored by matt01671's avatar matt01671
Browse files

added cluster build

parent 83ada5e4
Branches
No related tags found
No related merge requests found
......@@ -21,6 +21,11 @@
- role: all-mount
- role: all-docker
- hosts: dbs
roles:
- role: cluster-build
- hosts: web
vars_files:
- host_vars/react.yaml
......@@ -29,8 +34,5 @@
roles:
- role: react-build
- hosts: dbs
roles:
- role: harvester-build
\ No newline at end of file
---
- name: Install dep
tags: 'dep'
become: yes
pip:
name: ['node','npm','grunt','jq']
state: latest
---
# Create an instance on NeCTAR
- debug:
msg: "Name '{{ sg_names }}' '{{ cluster_sg_names }}'"
loop: '{{ instances}}'
- name: Create an instance
os_server:
name: '{{ item.name }}'
......@@ -8,8 +12,9 @@
flavor: '{{ instance_flavor }}'
availability_zone: '{{ availability_zone }}'
security_groups:
- '{{ sg_names }}'
- '{{ cluster_sg_names }}'
- ssh #NEED TO AUTOMATE THIS???
- http
- couchDB-cluster
volumes: '{{ item.volumes }}'
auto_floating_ip: yes
wait: yes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment