try to fix permissions issue

This commit is contained in:
Pim Kunis 2023-04-25 17:09:04 +02:00
parent 527505f7ca
commit ad30062c9b

View file

@ -1,5 +1,12 @@
---
- name: Ensure permissions on signing key
file:
path: "{{ role_path }}/files/{{ ssh_ca_signing_key }}"
state: file
mode: 0600
delegate_to: localhost
- name: Generate key pair
openssh_keypair:
path: "/etc/ssh/{{ ssh_ca_key_name }}"