We combine this patch with switch Manila jobs to Noble in order to resolve the conflict and fix CI for the role. Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/948255 Change-Id: Id63a340123f31dc1f214126fe9f702673fb3b3f8
18 lines
455 B
YAML
18 lines
455 B
YAML
---
|
|
- name: Create SSH keypair
|
|
run_once: true
|
|
delegate_to: localhost
|
|
community.crypto.openssh_keypair:
|
|
path: "{{ manila_keypair_path }}"
|
|
|
|
- name: Distribute SSH keypair
|
|
ansible.builtin.copy:
|
|
src: "{{ item }}"
|
|
dest: "/etc/manila/{{ item | basename }}"
|
|
owner: "{{ manila_system_user_name }}"
|
|
group: "{{ manila_system_group_name }}"
|
|
mode: "0600"
|
|
loop:
|
|
- "{{ manila_keypair_path }}.pub"
|
|
- "{{ manila_keypair_path }}"
|