edb3489820
Qinling is an OpenStack project to provide "Function as a Service". This project aims to provide a platform to support serverless functions. Change-Id: I239a0130f8c8b061b531dab530d65172b0914d7c Implements: blueprint ansible-qinling-support Story: 2005760 Task: 33468
20 lines
693 B
YAML
20 lines
693 B
YAML
---
|
|
- name: Copy over Kubernetes certificates files for qinling-engine
|
|
copy:
|
|
src: "{{ item }}"
|
|
dest: "{{ node_config_directory }}/qinling-engine/"
|
|
mode: "0660"
|
|
owner: "{{ config_owner_user }}"
|
|
group: "{{ config_owner_group }}"
|
|
become: true
|
|
register: qinling_engine_kubernetes_files
|
|
with_items:
|
|
- "{{ node_custom_config }}/qinling/qinling-engine/kubernetes_ca.crt"
|
|
- "{{ node_custom_config }}/qinling/qinling-engine/kubernetes.crt"
|
|
- "{{ node_custom_config }}/qinling/qinling-engine/kubernetes.key"
|
|
when:
|
|
- qinling_kubernetes_certificates | bool
|
|
- inventory_hostname in groups['qinling-engine']
|
|
notify:
|
|
- Restart qinling-engine container
|