735e7811e1
Closes-bug: 1537093
44 lines
1.3 KiB
YAML
44 lines
1.3 KiB
YAML
id: not_provisioned_nodes
|
|
resources:
|
|
#% for node in nodes %#
|
|
#% set id = node.id | replace(':', '_') %#
|
|
- id: ssh_transport#{ id }#
|
|
from: resources/transport_ssh
|
|
input:
|
|
user: 'root'
|
|
key: '/vagrant/tmp/keys/ssh_private'
|
|
- id: transports#{id}#
|
|
from: resources/transports
|
|
input:
|
|
transports:key: ssh_transport#{id}#::key
|
|
transports:user: ssh_transport#{id}#::user
|
|
transports:port: ssh_transport#{id}#::port
|
|
transports:name: ssh_transport#{id}#::name
|
|
- id: node_#{id}#
|
|
from: resources/not_provisioned_node
|
|
input:
|
|
ip: #{node.ip}#
|
|
transports_id: transports#{id}#::transports_id
|
|
name: node_#{id}#
|
|
admin_mac: #{node.mac}#
|
|
#% endfor %#
|
|
|
|
- id: ssh_transport_master
|
|
from: resources/transport_ssh
|
|
input:
|
|
user: 'vagrant'
|
|
key: '/vagrant/.vagrant/machines/solar-dev/virtualbox/private_key'
|
|
- id: transports_master
|
|
from: resources/transports
|
|
input:
|
|
transports:key: ssh_transport_master::key
|
|
transports:user: ssh_transport_master::user
|
|
transports:port: ssh_transport_master::port
|
|
transports:name: ssh_transport_master::name
|
|
- id: node_master
|
|
from: resources/ro_node
|
|
input:
|
|
name: node_master
|
|
ip: '10.0.2.15'
|
|
transports_id: transports_master::transports_id
|