refactor: use the file extension .yml for all yaml files
The role used .yaml while the molecule scenario used .yml, because molecule hard codes molecule.yml and has no fallback for the other extension. Aligning all files on .yml keeps the extension consistent across the repository and avoids surprises when a tool only supports one of both spellings. Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
---
|
||||
|
||||
- name: Import private key of intermediate Certificate Authority (CA)
|
||||
ansible.builtin.copy:
|
||||
content: "{{ certificate_authority_intermediate_ca_tls_key_content }}"
|
||||
dest: "{{ certificate_authority_intermediate_ca_path }}/privkey.pem"
|
||||
owner: root
|
||||
group: root
|
||||
mode: "0600"
|
||||
when: certificate_authority_intermediate_ca_tls_key_content | length > 0
|
||||
|
||||
- name: Import certificate of intermediate Certificate Authority (CA)
|
||||
ansible.builtin.copy:
|
||||
content: "{{ certificate_authority_intermediate_ca_tls_crt_content }}"
|
||||
dest: "{{ certificate_authority_intermediate_ca_path }}/cert.pem"
|
||||
owner: root
|
||||
group: root
|
||||
mode: "0644"
|
||||
when: certificate_authority_intermediate_ca_tls_crt_content | length > 0
|
||||
Reference in New Issue
Block a user