Fix dynamic inventory parsing in contrib/tf/packet (#4645)

This commit is contained in:
Maxime Guyot
2019-04-25 09:40:46 +02:00
committed by Kubernetes Prow Robot
parent f5a83ceded
commit 696d481e3b
5 changed files with 11 additions and 10 deletions

View File

@@ -33,6 +33,8 @@
extends: .terraform_install
stage: deploy-part2
when: manual
variables:
ANSIBLE_INVENTORY_UNPARSED_FAILED: "true"
script:
- terraform apply -auto-approve ../../contrib/terraform/$PROVIDER
- ansible-playbook -i hosts ../../cluster.yml --become
@@ -73,7 +75,7 @@ tf-packet-ubuntu16-default:
TF_VAR_number_of_k8s_nodes: "1"
TF_VAR_plan_k8s_masters: t1.small.x86
TF_VAR_plan_k8s_nodes: t1.small.x86
TF_VAR_facilities: '["ewr1"]'
TF_VAR_facility: ewr1
TF_VAR_public_key_path: ""
TF_VAR_operating_system: ubuntu_16_04
@@ -88,7 +90,7 @@ tf-packet-ubuntu18-default:
TF_VAR_number_of_k8s_nodes: "1"
TF_VAR_plan_k8s_masters: t1.small.x86
TF_VAR_plan_k8s_nodes: t1.small.x86
TF_VAR_facilities: '["ams1"]'
TF_VAR_facility: ams1
TF_VAR_public_key_path: ""
TF_VAR_operating_system: ubuntu_18_04