-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Use supported ansible-lint action; run ansible-lint against the c…
…ollection The old ansible-community ansible-lint is deprecated. There is a new ansible-lint github action. The new ansible-lint has several checks related to ansible-test and the ignore files. Many of our ignore settings are not allowed any more and are required to be fixed or addressed in the Ansible preferred way. The module documentation must comply with the Ansible standards. The result of this is that the .sanity files can be reduced to the bare minimum which will greatly reduce the maintenance burden of those files, make it easier to support newer versions of Ansible, and make it easier to import the system roles collection into Galaxy and Automation Hub. The latest Ansible repo gating tests run ansible-lint against the collection format instead of against individual roles. We have to convert the role to collection format before running ansible-test. Role developers can run this locally using `tox -e collection,ansible-lint-collection` See linux-system-roles/tox-lsr#125 Add `---` doc start to .markdownlint.yaml Signed-off-by: Rich Megginson <rmeggins@redhat.com>
- Loading branch information
Showing
9 changed files
with
21 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
--- | ||
# Default state for all rules | ||
default: true | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,2 @@ | ||
plugins/modules/firewall_lib.py validate-modules:missing-gplv3-license | ||
plugins/modules/firewall_lib_facts.py validate-modules:missing-gplv3-license | ||
plugins/modules/firewall_lib.py validate-modules:missing-examples | ||
roles/firewall/files/get_files_checksums.sh shebang!skip | ||
tests/firewall/files/test_ping.sh shebang!skip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,2 @@ | ||
plugins/modules/firewall_lib.py validate-modules:missing-gplv3-license | ||
plugins/modules/firewall_lib_facts.py validate-modules:missing-gplv3-license | ||
plugins/modules/firewall_lib.py validate-modules:missing-examples | ||
roles/firewall/files/get_files_checksums.sh shebang!skip | ||
tests/firewall/files/test_ping.sh shebang!skip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,2 @@ | ||
plugins/modules/firewall_lib.py validate-modules:missing-gplv3-license | ||
plugins/modules/firewall_lib_facts.py validate-modules:missing-gplv3-license | ||
plugins/modules/firewall_lib.py validate-modules:missing-examples | ||
roles/firewall/files/get_files_checksums.sh shebang!skip | ||
tests/firewall/files/test_ping.sh shebang!skip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,2 @@ | ||
plugins/modules/firewall_lib.py validate-modules:missing-gplv3-license | ||
plugins/modules/firewall_lib_facts.py validate-modules:missing-gplv3-license | ||
plugins/modules/firewall_lib.py validate-modules:missing-examples | ||
roles/firewall/files/get_files_checksums.sh shebang!skip | ||
tests/firewall/files/test_ping.sh shebang!skip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,2 @@ | ||
plugins/modules/firewall_lib.py validate-modules:missing-gplv3-license | ||
plugins/modules/firewall_lib_facts.py validate-modules:missing-gplv3-license | ||
plugins/modules/firewall_lib.py validate-modules:missing-examples | ||
roles/firewall/files/get_files_checksums.sh shebang!skip | ||
tests/firewall/files/test_ping.sh shebang!skip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash | ||
#!/usr/bin/env bash | ||
|
||
set -euo pipefail | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters