system-config/playbooks/roles/configure-openstacksdk/tasks/main.yaml
Jeremy Stanley f18e06e011 Farewell limestone
The mirror in our Limestone Networks donor environment is now
unreachable, but we ceased using this region years ago due to
persistent networking trouble and the admin hasn't been around for
roughly as long, so it's probably time to go ahead and say goodbye
to it.

Change-Id: Ibad440a3e9e5c210c70c14a34bcfec1fb24e07ce
2023-02-13 23:54:59 +00:00

26 lines
720 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:
- 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