system-config/playbooks/roles/configure-openstacksdk/tasks/main.yaml
Monty Taylor eb086094a8 Install limestone CA on hosts using openstacksdk
In order to talk to limestone clouds we need to configure a custom CA.
Do this in ansible instead of puppet.

A followup should add writing out clouds.yaml files.

Change-Id: I355df1efb31feb31e039040da4ca6088ea632b7e
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-08-31 12:17:35 -07:00

16 lines
461 B
YAML

- name: Ensure openstacksdk config directory
file:
group: '{{ openstacksdk_config_group }}'
owner: '{{ openstacksdk_config_owner }}'
mode: 0750
path: '{{ openstacksdk_config_dir }}'
state: directory
- name: Install limestone cacert
copy:
dest: '{{ openstacksdk_config_dir }}/limestone_cacert.pem'
group: '{{ openstacksdk_config_group }}'
mode: 0640
owner: '{{ openstacksdk_config_owner }}'
src: limestone_cacert.pem