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:
parent
ced3285659
commit
728f69bd14
1 changed files with 12 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue