system-config/playbooks/roles/configure-openstacksdk/tasks/main.yaml
Clark Boylan f1df36145d Add inmotion cloud to cloud launcher
This adds the new inmotion cloud to clouds.yaml files and the cloud
launcher config. This cloud is running on an openstack as a service
platform so we have quite a bit of freedom to make changes here within
the resource limitations if necessary.

Change-Id: I2aed6dffde4a1d6e3044c4bd8df4ca60065ae1ea
2021-04-21 11:18:40 -07:00

27 lines
747 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 cloud cacerts
copy:
dest: '{{ openstacksdk_config_dir }}/{{ item }}'
group: '{{ openstacksdk_config_group }}'
mode: 0640
owner: '{{ openstacksdk_config_owner }}'
src: '{{ item }}'
loop:
- limestone_cacert.pem
- inmotion_cacert.pem
- name: Install the clouds config file
template:
src: '{{ openstacksdk_config_template }}'
dest: '{{ openstacksdk_config_file }}'
group: '{{ openstacksdk_config_group }}'
owner: '{{ openstacksdk_config_owner }}'
mode: 0640