-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update ansible-lint.yml #2425
Open
Aditya-DP
wants to merge
48
commits into
dell:pub/new_architecture
Choose a base branch
from
Aditya-DP:lint_workflow_fix
base: pub/new_architecture
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Update ansible-lint.yml #2425
Changes from all commits
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
e84ed7f
Update ansible-lint.yml
Aditya-DP a939d45
Update omnia.yml
Aditya-DP a90d859
Update ansible-lint.yml
Aditya-DP 2b6cfec
Update ansible-lint.yml
Aditya-DP 52b840c
Update ansible-lint.yml
Aditya-DP 188f840
Update ansible-lint.yml
Aditya-DP 19e6e57
Update ansible-lint.yml
Aditya-DP 21525d6
Update ansible-lint.yml
Aditya-DP 8189887
Ansible lint workflow
Aditya-DP 9378bfe
Update ansible-lint.yml
Aditya-DP 0a2e6bb
Update .ansible-lint.yml
Aditya-DP fa5620a
Update .ansible-lint.yml
Aditya-DP 7910ba5
Update .ansible-lint.yml
Aditya-DP 9784214
Update .ansible-lint.yml
Aditya-DP 5903c05
Update ansible-lint.yml
Aditya-DP 2b319d3
Update ansible-lint.yml
Aditya-DP b8513a1
Lint fix
Aditya-DP af666b7
Update omnia.yml
Aditya-DP fe95b47
Update .ansible-lint.yml
Aditya-DP 35298d2
Update .ansible-lint.yml
Aditya-DP af693c8
Update .ansible-lint.yml
Aditya-DP c6a4612
Update .ansible-lint.yml
Aditya-DP e820ca6
Update ansible-lint.yml
Aditya-DP 4ccbe9f
Update ansible-lint.yml
Aditya-DP 26f7583
Update ansible-lint.yml
Aditya-DP c25e4b0
Update ansible-lint.yml
Aditya-DP 7ed8de1
Update ansible-lint.yml
Aditya-DP 3bb2cb2
OIM Omnia container startup script
Aditya-DP e855042
Update ansible-lint.yml
Aditya-DP 1de3425
Update ansible-lint.yml
Aditya-DP 5e162d3
Update ansible-lint.yml
Aditya-DP 335ca0f
lint fix
Aditya-DP 03c0a2e
Update ansible-lint.yml
Aditya-DP 6eac3d0
Update ansible-lint.yml
Aditya-DP 61fbfed
Update ansible-lint.yml
Aditya-DP 2dfb68f
Update ansible-lint.yml
Aditya-DP d770e54
Update ansible-lint.yml
Aditya-DP 3cd61aa
Update ansible-lint.yml
Aditya-DP e0d10a0
Update ansible-lint.yml
Aditya-DP 4b24ff5
Update ansible-lint.yml
Aditya-DP d0e3298
Update ansible-lint.yml
Aditya-DP d49284d
Update ansible-lint.yml
Aditya-DP a6f1477
Update ansible-lint.yml
Aditya-DP eb8a7f4
Update ansible-lint.yml
Aditya-DP 92c1dd6
Update ansible-lint.yml
Aditya-DP a7db6bc
Update ansible-lint.yml
Aditya-DP 57af672
Update ansible-lint.yml
Aditya-DP 1a4af55
Update ansible-lint.yml
Aditya-DP File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
exclude_paths: | ||
- .git/ | ||
- .github/ | ||
- accelerator/tests/ | ||
- network/ | ||
- provision/tests/ | ||
- scheduler/ | ||
- security/tests/ | ||
- storage/tests/ | ||
- test/ | ||
- utils/test/ | ||
- utils/obsolete/ | ||
- utils/cluster/ | ||
- utils/k8s-upgrade/ | ||
- docs/ | ||
- test/ | ||
- input/ | ||
- platforms/ | ||
- examples/ | ||
- .ansible-lint.yml | ||
- .readthedocs.yaml | ||
|
||
warn_list: | ||
- yaml | ||
- meta-no-info | ||
- meta-incorrect | ||
- fqcn-builtins | ||
|
||
skip_list: | ||
- var-naming[no-role-prefix] | ||
- fqcn[action-core] | ||
- unresolved-module | ||
|
||
verbosity: 1 | ||
profile: production |
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,25 @@ | ||
--- | ||
collections: | ||
- name: ansible.utils | ||
version: 5.1.1 | ||
- name: community.crypto | ||
version: 2.22.0 | ||
- name: community.docker | ||
version: 3.12.1 | ||
- name: community.general | ||
version: 9.4.0 | ||
- name: community.grafana | ||
version: 2.1.0 | ||
- name: community.mysql | ||
version: 3.10.3 | ||
- name: community.postgresql | ||
version: 3.5.0 | ||
- name: dellemc.os10 | ||
version: 1.1.1 | ||
- name: dellemc.openmanage | ||
version: 9.6.0 | ||
- name: kubernetes.core | ||
version: 5.0.0 | ||
- name: https://github.com/kubernetes-sigs/kubespray | ||
type: git | ||
version: v2.25.0 |
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 |
---|---|---|
|
@@ -15,80 +15,27 @@ on: | |
- release-1.5.1 | ||
- release-1.6 | ||
- release-1.7 | ||
- staging | ||
- release-1.7.1 | ||
- pub/new_architecture | ||
|
||
jobs: | ||
ansible-lint: | ||
|
||
build: | ||
name: Ansible Lint # Naming the build is important to use it as a status check | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
# Important: This sets up your GITHUB_WORKSPACE environment variable | ||
- uses: actions/checkout@v2 | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install Ansible collections | ||
run: | | ||
python3 -m pip install --upgrade pip | ||
pip install ansible | ||
|
||
- name: ansible-lint | ||
# replace "master" with any valid ref | ||
uses: ansible/ansible-lint-action@c37fb7b4bda2c8cb18f4942716bae9f11b0dc9bc | ||
with: | ||
# [required] | ||
# Paths to ansible files (i.e., playbooks, tasks, handlers etc..) | ||
# or valid Ansible directories according to the Ansible role | ||
# directory structure. | ||
# If you want to lint multiple ansible files, use the following syntax | ||
# targets: | | ||
# playbook_1.yml | ||
# playbook_2.yml | ||
targets: | | ||
/github/workspace/omnia.yml | ||
/github/workspace/discovery_provision.yml | ||
/github/workspace/local_repo/local_repo.yml | ||
/github/workspace/server_spec_update/server_spec_update.yml | ||
/github/workspace/scheduler/job_based_user_access.yml | ||
/github/workspace/security/user_passwordless_ssh.yml | ||
/github/workspace/storage/nfs_sas.yml | ||
/github/workspace/storage/powervault.yml | ||
/github/workspace/telemetry/add_node_idrac.yml | ||
/github/workspace/tools/jupyterhub.yml | ||
/github/workspace/tools/kserve.yml | ||
/github/workspace/tools/kubeflow.yml | ||
/github/workspace/tools/pytorch.yml | ||
/github/workspace/tools/tensorflow.yml | ||
/github/workspace/tools/vllm.yml | ||
/github/workspace/utils/control_plane_cleanup.yml | ||
/github/workspace/utils/delete_node.yml | ||
/github/workspace/utils/remove_node_configuration.yml | ||
/github/workspace/utils/reset_cluster_configuration.yml | ||
/github/workspace/utils/update_user_repo.yml | ||
/github/workspace/utils/servicetag_host_mapping.yml | ||
/github/workspace/utils/software_update/software_update.yml | ||
/github/workspace/utils/timescaledb_utility/timescaledb_utility.yml | ||
/github/workspace/utils/ip_rule_assignment/ip_rule_assignment.yml | ||
/github/workspace/utils/nodeinfo_db/nodeinfo_db.yml | ||
# [optional] | ||
# Arguments to override a package and its version to be set explicitly. | ||
# Must follow the example syntax. | ||
override-deps: | | ||
ansible==6.7.0 | ||
ansible-lint==6.13.1 | ||
# [optional] | ||
# Arguments to be passed to the ansible-lint | ||
# - name: Install Ansible collections | ||
# run: ansible-galaxy collection install -r .config/requirements.yml | ||
|
||
# Options: | ||
# -q quieter, although not silent output | ||
# -p parseable output in the format of pep8 | ||
# --parseable-severity parseable output including severity of rule | ||
# -r RULESDIR specify one or more rules directories using one or | ||
# more -r arguments. Any -r flags override the default | ||
# rules in ansiblelint/rules, unless -R is also used. | ||
# -R Use default rules in ansiblelint/rules in addition to | ||
# any extra | ||
# rules directories specified with -r. There is no need | ||
# to specify this if no -r flags are used | ||
# -t TAGS only check rules whose id/tags match these values | ||
# -x SKIP_LIST only check rules whose id/tags do not match these | ||
# values | ||
# --nocolor disable colored output | ||
# --exclude=EXCLUDE_PATHS | ||
# path to directories or files to skip. This option is | ||
# repeatable. | ||
# -c C Specify configuration file to use. Defaults to ".ansible-lint" | ||
args: "-x 305" | ||
- name: Run ansible-lint | ||
uses: ansible/[email protected] | ||
with: | ||
args: --config=.config/ansible-lint.yml |
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
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
collections: | ||
- name: ansible.utils | ||
version: 5.1.1 | ||
- name: community.crypto | ||
version: 2.22.0 | ||
- name: community.docker | ||
version: 3.12.1 | ||
- name: community.general | ||
version: 9.4.0 | ||
- name: community.grafana | ||
version: 2.1.0 | ||
- name: community.mysql | ||
version: 3.10.3 | ||
- name: community.postgresql | ||
version: 3.5.0 | ||
- name: dellemc.os10 | ||
version: 1.1.1 | ||
- name: dellemc.openmanage | ||
version: 9.6.0 | ||
- name: kubernetes.core | ||
version: 5.0.0 | ||
- name: https://github.com/kubernetes-sigs/kubespray | ||
type: git | ||
version: v2.25.0 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please add in .ansible_lint file with skip list