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 07953a24fd
commit c27abf43f8
3 changed files with 8 additions and 5 deletions

View File

@ -4,3 +4,5 @@ skip_list:
- 'var-naming'
- 'no-handler'
- 'role-name'
- 'ignore-errors'
- 'yaml'

View File

@ -5,9 +5,9 @@ Ansible Role to deploy a ZoneMinder IP-CAM server.
Read into the [official documentation](https://zoneminder.readthedocs.io/en/stable/userguide/gettingstarted.html) on how to add ip-cams and so on.
[![Molecule Test Status](https://badges.ansibleguy.net/sw_zoneminder.molecule.svg)]()
[![YamlLint Test Status](https://badges.ansibleguy.net/sw_zoneminder.yamllint.svg)]()
[![Ansible-Lint Test Status](https://badges.ansibleguy.net/sw_zoneminder.ansiblelint.svg)]()
[![Molecule Test Status](https://badges.ansibleguy.net/sw_zoneminder.molecule.svg)](https://molecule.readthedocs.io/en/latest/)
[![YamlLint Test Status](https://badges.ansibleguy.net/sw_zoneminder.yamllint.svg)](https://yamllint.readthedocs.io/en/stable/)
[![Ansible-Lint Test Status](https://badges.ansibleguy.net/sw_zoneminder.ansiblelint.svg)](https://ansible-lint.readthedocs.io/en/latest/)
[![Ansible Galaxy](https://img.shields.io/ansible/role/59996)](https://galaxy.ansible.com/ansibleguy/sw_zoneminder)
[![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%2F59996%2F%3Fformat%3Djson)](https://galaxy.ansible.com/ansibleguy/sw_zoneminder)

View File

@ -25,7 +25,7 @@
- 'apache2.service'
- name: Checking ports
wait_for:
ansible.builtin.wait_for:
port: "{{ item }}"
timeout: 1
msg: "Checking port {{ item }}"
@ -35,7 +35,8 @@
- 80
- 443
- debug:
- name: 'Test'
ansible.builtin.debug:
var: port_test
- name: Verify