1
0
Fork 0
mirror of https://github.com/ansible-collections/hetzner.hcloud.git synced 2026-02-04 08:01:49 +00:00
hetzner.hcloud/tests/integration/targets/setup_ssh_keypair/tasks/main.yml
Jonas L 86e476f961
test: fix linting error for integrations setup roles (#426)
##### SUMMARY

Fix ansible lint error for the integrations setup roles.
2023-12-15 15:25:20 +01:00

19 lines
526 B
YAML

---
# https://github.com/ansible-collections/community.crypto/pull/504
- name: Create temporary directory for test_ssh_keypair
ansible.builtin.file:
state: directory
path: ~/tmp
mode: "0755"
- name: Create temporary file for test_ssh_keypair
ansible.builtin.tempfile:
path: ~/tmp
suffix: "{{ hcloud_ssh_key_name }}"
register: _tmp_ssh_key_file
- name: Create test_ssh_keypair
community.crypto.openssh_keypair:
path: "{{ _tmp_ssh_key_file.path }}"
force: true
register: test_ssh_keypair