system-config/playbooks/templates/clouds/nodepool_clouds.yaml.j2
Ian Wienand a7e85e75b1 Fix variable names in nodepool cloud config
Deployment of the nodepool cloud.yaml file is currently failing with

 FAILED! => {"changed": false, "msg": "AnsibleUndefinedVariable: 'rackspace_username' is undefined"}

This is because the variables in the group_vars on bridge.o.o are all
prefixed with "nodepool_".  Switch to this.

Change-Id: I524cc628138d85e3a31c216d04e4f49bcfaaa4a8
2018-09-05 15:55:34 +10:00

120 lines
3.3 KiB
Django/Jinja

cache:
expiration:
server: 5
port: 5
floating-ip: 5
clouds:
rax:
profile: rackspace
regions:
- DFW
- ORD
- IAD
api_timeout: 60
auth:
username: '{{ nodepool_rackspace_username }}'
password: '{{ nodepool_rackspace_password }}'
project_id: '{{ nodepool_rackspace_project }}'
force_ipv4: true
ovh:
profile: ovh
# OVH has a weird new ipv6 setup that we can't handle properly
# for now ignore ipv6
force_ipv4: true
regions:
- BHS1
- GRA1
api_timeout: 60
auth:
username: '{{ nodepool_ovh_username }}'
password: '{{ nodepool_ovh_password }}'
project_name: '{{ nodepool_ovh_project }}'
inap:
profile: internap
api_timeout: 60
auth:
username: '{{ nodepool_internap_username }}'
password: '{{ nodepool_internap_password }}'
project_name: '{{ nodepool_internap_project }}'
regions:
- name: mtl01
values:
networks:
- name: inap-17304-WAN1101
routes_externally: True
vexxhost:
profile: vexxhost
regions:
- ca-ymq-1
- sjc1
api_timeout: 60
auth_type: password
auth:
username: '{{ nodepool_vexxhost_username }}'
password: '{{ nodepool_vexxhost_password }}'
project_name: '{{ nodepool_vexxhost_project }}'
project_domain_name: default
user_domain_name: default
image_format: 'raw'
citycloud:
regions:
- Lon1
- Kna1
- La1
- Sto2
profile: citycloud
api_timeout: 60
auth:
username: '{{ nodepool_citycloud_username }}'
password: '{{ nodepool_citycloud_password }}'
project_id: bed89257500340af8d0fbe7141b1bfd6
project_domain_id: a5e7d1a8f25b42b081cf89d1130638da
user_domain_id: a5e7d1a8f25b42b081cf89d1130638da
linaro:
regions:
- RegionOne
identity_api_version: '3'
auth:
auth_url: https://cn1.linaro.cloud:35357
username: '{{ nodepool_linaro_username }}'
password: '{{ nodepool_linaro_password }}'
project_name: '{{ nodepool_linaro_project }}'
project_domain_name: default
user_domain_name: default
limestone:
regions:
- name: RegionOne
values:
networks:
- name: "Gateway Network"
routes_externally: false
routes_ipv6_externally: true
nat_destination: true
auth:
auth_url: https://osa.continuous.pw:5000
username: '{{ nodepool_limestone_username }}'
password: '{{ nodepool_limestone_password }}'
project_name: '{{ limestone_project }}'
user_domain_name: default
project_domain_name: default
api_timeout: 60
identity_api_version: 3
floating_ip_source: None
cacert: /home/nodepool/.config/openstack/limestone_cacert.pem
packethost:
regions:
- name: us-west-1
values:
networks:
- name: openstackzuul-net
default_interface: True
auth:
auth_url: https://packet.platform9.net/keystone
username: '{{ nodepool_packethost_username }}'
password: '{{ nodepool_packethost_password }}'
project_name: '{{ nodepool_packethost_project }}'
user_domain_name: default
project_domain_name: default
identity_api_version: '3'
image_format: 'raw'