-
Notifications
You must be signed in to change notification settings - Fork 21
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 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
18 changed files
with
73 additions
and
59 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
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
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
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,7 +1 @@ | ||
tests/kernel_settings/install_ansible_for_testing.sh shebang!skip | ||
tests/kernel_settings/install_tuned_for_testing.sh shebang!skip | ||
tests/kernel_settings/run_ansible_for_testing.sh shebang!skip | ||
plugins/modules/kernel_settings.py validate-modules:missing-gplv3-license | ||
plugins/modules/kernel_settings.py validate-modules:parameter-type-not-in-doc | ||
plugins/modules/kernel_settings.py validate-modules:undocumented-parameter | ||
plugins/modules/kernel_settings.py validate-modules:module-invalid-version-added |
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,7 +1 @@ | ||
tests/kernel_settings/install_ansible_for_testing.sh shebang!skip | ||
tests/kernel_settings/install_tuned_for_testing.sh shebang!skip | ||
tests/kernel_settings/run_ansible_for_testing.sh shebang!skip | ||
plugins/modules/kernel_settings.py validate-modules:missing-gplv3-license | ||
plugins/modules/kernel_settings.py validate-modules:parameter-type-not-in-doc | ||
plugins/modules/kernel_settings.py validate-modules:undocumented-parameter | ||
plugins/modules/kernel_settings.py validate-modules:module-invalid-version-added |
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,7 +1 @@ | ||
tests/kernel_settings/install_ansible_for_testing.sh shebang!skip | ||
tests/kernel_settings/install_tuned_for_testing.sh shebang!skip | ||
tests/kernel_settings/run_ansible_for_testing.sh shebang!skip | ||
plugins/modules/kernel_settings.py validate-modules:missing-gplv3-license | ||
plugins/modules/kernel_settings.py validate-modules:parameter-type-not-in-doc | ||
plugins/modules/kernel_settings.py validate-modules:undocumented-parameter | ||
plugins/modules/kernel_settings.py validate-modules:module-invalid-version-added |
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,7 +1 @@ | ||
tests/kernel_settings/install_ansible_for_testing.sh shebang!skip | ||
tests/kernel_settings/install_tuned_for_testing.sh shebang!skip | ||
tests/kernel_settings/run_ansible_for_testing.sh shebang!skip | ||
plugins/modules/kernel_settings.py validate-modules:missing-gplv3-license | ||
plugins/modules/kernel_settings.py validate-modules:parameter-type-not-in-doc | ||
plugins/modules/kernel_settings.py validate-modules:undocumented-parameter | ||
plugins/modules/kernel_settings.py validate-modules:module-invalid-version-added |
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,7 +1 @@ | ||
tests/kernel_settings/install_ansible_for_testing.sh shebang!skip | ||
tests/kernel_settings/install_tuned_for_testing.sh shebang!skip | ||
tests/kernel_settings/run_ansible_for_testing.sh shebang!skip | ||
plugins/modules/kernel_settings.py validate-modules:missing-gplv3-license | ||
plugins/modules/kernel_settings.py validate-modules:parameter-type-not-in-doc | ||
plugins/modules/kernel_settings.py validate-modules:undocumented-parameter | ||
plugins/modules/kernel_settings.py validate-modules:module-invalid-version-added |
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,7 +1 @@ | ||
tests/kernel_settings/install_ansible_for_testing.sh shebang!skip | ||
tests/kernel_settings/install_tuned_for_testing.sh shebang!skip | ||
tests/kernel_settings/run_ansible_for_testing.sh shebang!skip | ||
plugins/modules/kernel_settings.py validate-modules:missing-gplv3-license | ||
plugins/modules/kernel_settings.py validate-modules:parameter-type-not-in-doc | ||
plugins/modules/kernel_settings.py validate-modules:undocumented-parameter | ||
plugins/modules/kernel_settings.py validate-modules:module-invalid-version-added |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
plugins/modules/kernel_settings.py validate-modules:missing-gplv3-license |
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,6 +1 @@ | ||
tests/kernel_settings/install_ansible_for_testing.sh shebang!skip | ||
tests/kernel_settings/install_tuned_for_testing.sh shebang!skip | ||
tests/kernel_settings/run_ansible_for_testing.sh shebang!skip | ||
plugins/modules/kernel_settings.py validate-modules:missing-gplv3-license | ||
plugins/modules/kernel_settings.py validate-modules:parameter-type-not-in-doc | ||
plugins/modules/kernel_settings.py validate-modules:undocumented-parameter |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash | ||
#!/usr/bin/env bash | ||
# this is used to install ansible into a venv or tox env | ||
# for testing purposes | ||
|
||
|
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 | ||
# this is used to install tuned into a venv or tox env | ||
# for testing purposes | ||
|
||
|
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 -euxo pipefail | ||
|
||
|