1
0
Fork 0
mirror of https://github.com/ansible-collections/hetzner.hcloud.git synced 2026-02-04 08:01:49 +00:00

feat: Add second ssh keypair for testing force option

This commit is contained in:
shaerpour 2025-05-14 12:33:24 +03:30
parent ced3285659
commit 728f69bd14
No known key found for this signature in database
GPG key ID: D89285D72B39ED8F

View file

@ -17,3 +17,15 @@
path: "{{ _tmp_ssh_key_file.path }}"
force: true
register: test_ssh_keypair
- name: Create temporary file for test_ssh_keypair_2
ansible.builtin.tempfile:
path: ~/tmp
suffix: "{{ hcloud_ssh_key_name }}"
register: _tmp_ssh_key_file_2
- name: Create test_ssh_keypair_2
community.crypto.openssh_keypair:
path: "{{ _tmp_ssh_key_file_2.path }}"
force: true
register: test_ssh_keypair_2