Łukasz Oleś 278774182b Create node.yaml which creates one node
all required resources will be created in it

Blueprint: env-independent-node-resource
2016-02-01 14:38:51 +01:00

13 lines
316 B
YAML

resources:
#% for i in range(count|int) %#
#% set j = i +1 %#
- id: node#{j}#
from: templates/node
input:
name: node#{j}#
ssh_user: 'vagrant'
ssh_key: '/vagrant/.vagrant/machines/solar-dev#{j}#/virtualbox/private_key'
ssh_password: null
ip: '10.0.0.#{j + 2}#'
#% endfor %#