Add linting, lint files

This commit is contained in:
Corbin Bartsch 2023-10-29 12:55:19 -04:00
parent fc8fa90735
commit 66b2d67f6d
Signed by: coredotbin
GPG Key ID: 32D3B80A08D93212
3 changed files with 13 additions and 3 deletions

9
.ansible-lint Normal file
View File

@ -0,0 +1,9 @@
---
exclude_paths:
- test.yaml
warn_list:
- internal-error
# vi: ft=yaml

View File

@ -1,10 +1,11 @@
--- ---
galaxy_info: galaxy_info:
role_name: openssh role_name: openssh
namespace: coredotbin
author: Corbin Bartsch author: Corbin Bartsch
description: Sensible and secure defaults for OpenSSH server description: Sensible and secure defaults for OpenSSH server
license: MIT license: MIT
min_ansible_version: 2.9 min_ansible_version: v2.9
platforms: platforms:
- name: Debian - name: Debian
versions: versions:

View File

@ -1,6 +1,6 @@
--- ---
- hosts: 127.0.0.1 - name: Test the role
hosts: 127.0.0.1
vars_files: vars_files:
- defaults/main.yaml - defaults/main.yaml
tasks: tasks: