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

@ -93,7 +93,7 @@ default_le_certbot_cert:
email: "{{ CERT_CONFIG.letsencrypt.email }}"
# letsencrypt example:
#certs:
# certs:
# example1:
# domains: ['example1.ansibleguy.net']
# email: 'dummy@ansibleguy.net'

View File

@ -4,13 +4,17 @@ galaxy_info:
author: 'AnsibleGuy <guy@ansibleguy.net>'
namespace: 'ansibleguy'
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
description: ''
description: 'Meat-role to generate/manage certificates for other roles'
platforms:
- name: Debian
versions:
- bullseye
galaxy_tags: []
galaxy_tags:
- 'certificates'
- 'certs'
- 'letsencrypt'
- 'certbot'
collections: []

View File

@ -95,7 +95,7 @@
cert:
name: 'self_minca_pwd'
domains: ['cert.test.ansibleguy.net']
ips: [ '192.168.0.1' ]
ips: ['192.168.0.1']
cn: 'CA-Signed Server Cert'
pwd: 'Nope.'
key_usage: 'serverAuth'

View File

@ -6,6 +6,9 @@
ansible.builtin.file:
path: "{{ config_ca.ca.path | default(config_ca.path, true) }}"
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)
community.crypto.openssl_privatekey:

View File

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