Rename instances_config to infra_config and node_type for infra_type

Makes more sense to me that naming
This commit is contained in:
Ricardo Carrillo Cruz 2015-03-27 11:16:43 +01:00
parent 150f550d89
commit fc93fc4464
2 changed files with 8 additions and 8 deletions

View File

@ -1,27 +1,27 @@
---
instances_config:
infra_config:
- name: puppetdb.infra.test.rcarrillocruz.cloud
image: 9d25fe2d-cf31-4b05-8c58-f238ec78e633
flavor: standard.small
net_name: infra-test-network
node_type: puppetdb
infra_type: puppetdb
- name: puppetmaster.infra.test.rcarrillocruz.cloud
image: 9d25fe2d-cf31-4b05-8c58-f238ec78e633
flavor: standard.small
net_name: infra-test-network
node_type: puppetmaster
infra_type: puppetmaster
- name: jenkins.infra.test.rcarrillocruz.cloud
image: 9d25fe2d-cf31-4b05-8c58-f238ec78e633
flavor: standard.small
net_name: infra-test-network
node_type: jenkins
infra_type: jenkins
- name: gerrit.infra.test.rcarrillocruz.cloud
image: 9d25fe2d-cf31-4b05-8c58-f238ec78e633
flavor: standard.small
net_name: infra-test-network
node_type: gerrit
infra_type: gerrit
- name: nodepool.infra.test.rcarrillocruz.cloud
image: 9d25fe2d-cf31-4b05-8c58-f238ec78e633
flavor: standard.small
net_name: infra-test-network
node_type: nodepool
infra_type: nodepool

View File

@ -15,5 +15,5 @@
auto_floating_ip: yes
meta:
group: infra
node_type: "{{ item.node_type }}"
with_items: instances_config
infra_type: "{{ item.infra_type }}"
with_items: infra_config