fixed meta, linting updates, added ansible-lint config and test-badges

This commit is contained in:
AnsibleGuy 2022-08-12 20:30:04 +02:00
parent b5691e7aac
commit 8ef970d32a
5 changed files with 13 additions and 5 deletions

8
.ansible-lint.yml Normal file
View File

@ -0,0 +1,8 @@
---
skip_list:
- 'var-naming'
- 'no-handler'
- 'role-name'
- 'ignore-errors'
- 'yaml'

View File

@ -6,4 +6,4 @@ rules:
truthy:
allowed-values: ['true', 'false', 'yes', 'no']
line-length:
max: 150
max: 160

View File

@ -2,6 +2,9 @@
Ansible Role to create certificates to use on a linux server.
[![Molecule Test Status](https://badges.ansibleguy.net/infra_certs.molecule.svg)](https://molecule.readthedocs.io/en/latest/)
[![YamlLint Test Status](https://badges.ansibleguy.net/infra_certs.yamllint.svg)](https://yamllint.readthedocs.io/en/stable/)
[![Ansible-Lint Test Status](https://badges.ansibleguy.net/infra_certs.ansiblelint.svg)](https://ansible-lint.readthedocs.io/en/latest/)
[![Ansible Galaxy](https://img.shields.io/ansible/role/56802)](https://galaxy.ansible.com/ansibleguy/infra_certs)
[![Ansible Galaxy Downloads](https://img.shields.io/badge/dynamic/json?color=blueviolet&label=Galaxy%20Downloads&query=%24.download_count&url=https%3A%2F%2Fgalaxy.ansible.com%2Fapi%2Fv1%2Froles%2F56802%2F%3Fformat%3Djson)](https://galaxy.ansible.com/ansibleguy/infra_certs)

View File

@ -3,11 +3,8 @@
galaxy_info:
author: 'AnsibleGuy <guy@ansibleguy.net>'
namespace: 'ansibleguy'
readme: 'README.md'
license: 'GPLv3'
repository: 'https://github.com/ansibleguy/ROLE'
issue_tracker_url: 'https://github.com/ansibleguy/ROLE/issues'
github_branch: 'stable'
min_ansible_version: 2.9.10
description: ''
platforms:

View File

@ -11,7 +11,7 @@
register: enabled_nginx_sites
check_mode: false
- name: Certificates | Debian | LetsEncrypt Certbot | Nginx | Deploying temporary apache site
- name: Certificates | Debian | LetsEncrypt Certbot | Nginx | Deploying temporary nginx site
ansible.builtin.template:
src: 'templates/etc/nginx/sites-enabled/le_dummy.j2'
dest: '/etc/nginx/sites-enabled/tmp_le_dummy'