Set validate_certs defaulting to no on all resources creation

Change-Id: I3f840ab56374fe07215a1cdfa66a186c60a19e4a
This commit is contained in:
Ricardo Carrillo Cruz 2016-02-16 14:39:33 +01:00
parent 50ccb8c835
commit 29523dba68
2 changed files with 5 additions and 1 deletions

View File

@ -1,2 +1,3 @@
---
os_client_config_cloud: envvars
os_validate_certs: no

View File

@ -5,7 +5,7 @@
cloud: "{{item.os_client_config_cloud | default(os_client_config_cloud) }}"
name: "{{ item.name }}"
public_key: "{{ item.contents }}"
validate_certs: no
validate_certs: "{{ os_validate_certs }}"
with_items: keypairs
- name: Create instances
@ -24,6 +24,7 @@
meta:
group: infra
infra_type: "{{ item.infra_type }}"
validate_certs: "{{ os_validate_certs }}"
with_items: infra_servers
- name: Create volumes
@ -32,6 +33,7 @@
cloud: "{{item.os_client_config_cloud | default(os_client_config_cloud) }}"
display_name: "{{ item.1.name }}"
size: "{{ item.1.size }}"
validate_certs: "{{ os_validate_certs }}"
with_subelements:
- infra_servers
- volumes
@ -43,6 +45,7 @@
cloud: "{{item.os_client_config_cloud | default(os_client_config_cloud) }}"
server: "{{ item.0.name }}.{{ domainname }}"
volume: "{{ item.1.name }}"
validate_certs: "{{ os_validate_certs }}"
with_subelements:
- infra_servers
- volumes