Add linting tests and fixes

parent 0923483f
Pipeline #14719 failed with stage
in 5 minutes and 15 seconds
......@@ -3,16 +3,16 @@ galaxy_info:
author: Dan Thomson
description: Nagios NRPE RPC module installer
company: TRIUMF
license: GPLv3
min_ansible_version: 2.5
platforms:
- name: EL
versions:
- 8
- 7
# - 6
galaxy_tags:
- nagios
- nagios-nrpe
- nrpe
- centos
- centos7
dependencies: []
......@@ -3,6 +3,10 @@ dependency:
name: galaxy
driver:
name: docker
lint: |
set -e
ansible-lint
yamllint .
platforms:
- name: nagios-nrpe-agent-molecule-centos8
image: "centos:centos8"
......
---
- src: git+https://gitlab.triumf.ca/ansible/roles/triumf-mirror-repo.git
version: v0.1
name: triumf-mirror-repo
- name: Install dependencies
yum:
name: "{{ packages }}"
state: latest
loop_control:
loop_var: package
become: yes
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment