Skip to content
Snippets Groups Projects
Commit 4fb20531 authored by matt01671's avatar matt01671
Browse files

ready for input

parent f8da0f8a
No related branches found
No related tags found
No related merge requests found
......@@ -4,13 +4,13 @@ availability_zone: melbourne-qh2-uom
# Volume
volumes:
- vol_name: dbvolume1
vol_size: 10 #CHANGE TO HIGHER WHEN READY FOR COLLECTING
vol_size: 50 #CHANGE TO HIGHER WHEN READY FOR COLLECTING
- vol_name: dbvolume2
vol_size: 10
vol_size: 50
- vol_name: dbvolume3
vol_size: 10
- vol_name: webvolume
vol_size: 10
vol_size: 50
# - vol_name: webvolume
# vol_size: 30
# Security group
security_groups:
......@@ -67,10 +67,10 @@ instances:
volumes: ['dbvolume3']
meta:
group: slaves
- name: web
volumes: ['webvolume']
meta:
group: web
# - name: web
# volumes: ['webvolume']
# meta:
# group: web
instance_image: 45225edb-66d8-4fd0-bf41-132a31a18166
instance_key_name: test-moh
......
[web]
[master]
172.26.129.221 ansible_host=172.26.129.221
172.26.133.128 ansible_host=172.26.133.128
[slaves]
172.26.132.138 ansible_host=172.26.132.138
172.26.133.98 ansible_host=172.26.133.98
172.26.134.57 ansible_host=172.26.134.57
172.26.133.52 ansible_host=172.26.133.52
[dbs:children]
master
......
......@@ -49,9 +49,8 @@
# reboot:
# reboot_timeout: 3000MGVjNGJjYTU2ZmZmZGQx
# - name: Reboot CouchDB
# script: ./templates/reboot.sh '{{ ansible_default_ipv4.address }}'
# register: reboot
- name: Reboot CouchDB
script: ./templates/reboot.sh '{{ ansible_default_ipv4.address }}'
register: reboot
- debug: var=reboot.stdout_lines
\ No newline at end of file
# - debug: var=reboot.stdout_lines
\ No newline at end of file
#!/usr/bin/env bash
echo "== Set variables =="
export declare -a nodes=(172.26.129.221 172.26.132.138 172.26.133.98)
export declare -a nodes=(172.26.133.128 172.26.133.52 172.26.134.57) #NEED TO AUTOMATE
# export declare -a nodes=($1)
export user=admin
export pass=admin
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment