Skip to content

Commit

Permalink
Merge pull request #14 from jcpowermac/inventory_cleanup
Browse files Browse the repository at this point in the history
Removed CSC specific inventory items
  • Loading branch information
mtnbikenc committed Oct 20, 2015
2 parents 15aca7e + 829d20b commit bc36d54
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion ansible.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[defaults]
hostfile = ../wiley/inventory/hosts.ini
inventory = ./inventory/hosts.ini
host_key_checking = False
remote_user = root
forks = 50
Expand Down
2 changes: 1 addition & 1 deletion inventory/group_vars/all/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ scaleio_mdm_secondary_ip: "{{ hostvars[groups['mdm'][1]]['ansible_'+scaleio_inte
scaleio_mdm_secondary_mgmt_ip: "{{ hostvars[groups['mdm'][1]]['ansible_'+scaleio_mgmt_interface]['ipv4']['address'] }}"

# This IP address is either a single system or a VIP for HAproxy e.g. in OpenStack
scaleio_gateway_ip: 172.17.17.112
scaleio_gateway_ip:

scaleio_tb_ip: "{{ hostvars[groups['tb'][0]]['ansible_'+scaleio_interface]['ipv4']['address'] }}"

Expand Down
14 changes: 7 additions & 7 deletions inventory/hosts.ini
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[mdm]
wiley-scale-1 ansible_ssh_host=172.17.16.77
wiley-scale-2 ansible_ssh_host=172.17.16.78
scale-1
scale-2

[tb]
wiley-scale-3 ansible_ssh_host=172.17.16.79
scale-3

[sds:children]
mdm
Expand All @@ -15,14 +15,14 @@ tb
#controller

[compute]
wiley-cmp-1 ansible_ssh_host=172.17.16.73
cmp-1

[sdc:children]
sds
gateway
compute

[controller]
wiley-ctlr-1 ansible_ssh_host=172.17.16.70
wiley-ctlr-2 ansible_ssh_host=172.17.16.71
wiley-ctlr-3 ansible_ssh_host=172.17.16.72
ctlr-1
ctlr-2
ctlr-3

0 comments on commit bc36d54

Please sign in to comment.