lint fixes

This commit is contained in:
AnsibleGuy 2022-09-15 17:55:17 +02:00
parent 2873b64ba3
commit ce4aa596d6
5 changed files with 21 additions and 11 deletions

View File

@ -4,13 +4,17 @@ galaxy_info:
author: 'AnsibleGuy <guy@ansibleguy.net>' author: 'AnsibleGuy <guy@ansibleguy.net>'
namespace: 'ansibleguy' namespace: 'ansibleguy'
license: 'GPLv3' license: 'GPLv3'
issue_tracker_url: 'https://github.com/ansibleguy/ROLE/issues' issue_tracker_url: 'https://github.com/ansibleguy/infra_certs/issues'
min_ansible_version: 2.9.10 min_ansible_version: 2.9.10
description: '' description: 'Meat-role to generate/manage certificates for other roles'
platforms: platforms:
- name: Debian - name: Debian
versions: versions:
- bullseye - bullseye
galaxy_tags: [] galaxy_tags:
- 'certificates'
- 'certs'
- 'letsencrypt'
- 'certbot'
collections: [] collections: []

View File

@ -6,6 +6,9 @@
ansible.builtin.file: ansible.builtin.file:
path: "{{ config_ca.ca.path | default(config_ca.path, true) }}" path: "{{ config_ca.ca.path | default(config_ca.path, true) }}"
state: directory state: directory
mode: 0750
owner: "{{ config_ca.owner_key }}"
group: "{{ config_ca.group_key }}"
- name: Certificates | Internal | Minimal CA | Generate ca private key (encrypted key) - name: Certificates | Internal | Minimal CA | Generate ca private key (encrypted key)
community.crypto.openssl_privatekey: community.crypto.openssl_privatekey:

View File

@ -16,6 +16,9 @@
ansible.builtin.file: ansible.builtin.file:
path: "{{ CERT_CONFIG.path }}" path: "{{ CERT_CONFIG.path }}"
state: directory state: directory
mode: 0750
owner: "{{ CERT_CONFIG.owner_key }}"
group: "{{ CERT_CONFIG.group_key }}"
tags: [certs, ca] tags: [certs, ca]
- name: Certificates | Internal | Minimal CA - name: Certificates | Internal | Minimal CA