[copr] remove insecure mode from builderpb

This commit is contained in:
Valentin Gologuzov 2015-04-03 18:24:17 +02:00
parent 0b73bffe5f
commit b8c6ca3c89
2 changed files with 3 additions and 4 deletions

View file

@ -6,17 +6,17 @@ def nova_result_to_builder_ip(nova_result, network_name):
def network_name_to_id(network_name, username, password, tenant_name, auth_url):
nt = Client(username, password, tenant_name, auth_url, insecure=True)
nt = Client(username, password, tenant_name, auth_url)
return nt.networks.find(label=network_name).id
def image_name_to_id(image_name, username, password, tenant_name, auth_url):
nt = Client(username, password, tenant_name, auth_url, insecure=True)
nt = Client(username, password, tenant_name, auth_url)
return nt.images.find(name=image_name).id
def flavor_name_to_id(flavor_name, username, password, tenant_name, auth_url):
nt = Client(username, password, tenant_name, auth_url, insecure=True)
nt = Client(username, password, tenant_name, auth_url)
return nt.flavors.find(name=flavor_name).id

View file

@ -1,7 +1,6 @@
- name: spin/ensure vm with nova_compute
local_action:
module: nova_compute
insecure: True
auth_url: "{{OS_AUTH_URL}}"
login_username: "{{OS_USERNAME}}"
login_password: "{{OS_PASSWORD}}"