kolla-ansible/ansible/roles/cinder/tasks/check.yml
Scott Solkhon 09e02ef8f1 Support configuration of trusted CA certificate file
This commit adds the functionality for an operator to specify
their own trusted CA certificate file for interacting with the
Keystone API.

Implements: blueprint support-trusted-ca-certificate-file
Change-Id: I84f9897cc8e107658701fb309ec318c0f805883b
2019-08-16 12:47:42 +00:00

30 lines
849 B
YAML

---
- name: Cinder sanity check - create volume
become: true
kolla_toolbox:
module_name: os_volume
module_args:
auth: "{{ openstack_cinder_auth }}"
state: present
size: 1
display_name: kolla_test_volume
endpoint_type: "{{ openstack_interface }}"
cacert: "{{ openstack_cacert }}"
run_once: True
delegate_to: "{{ groups['cinder-api'][0] }}"
when: kolla_enable_sanity_cinder | bool
- name: Cinder sanity check - cleanup volume
become: true
kolla_toolbox:
module_name: os_volume
module_args:
auth: "{{ openstack_cinder_auth }}"
state: absent
display_name: kolla_test_volume
endpoint_type: "{{ openstack_interface }}"
cacert: "{{ openstack_cacert }}"
run_once: True
delegate_to: "{{ groups['cinder-api'][0] }}"
when: kolla_enable_sanity_cinder | bool