Skip to content

Commit

Permalink
ansible-lint.conf: ignore update_playbooks
Browse files Browse the repository at this point in the history
The update playbooks take a machine name as environnement variable.
I did not fine any way to pass it to ansible-lint.

This commit disables ansible-lint for the two update playbooks.

Signed-off-by: Erwann Roussy <[email protected]>
  • Loading branch information
eroussy committed Feb 12, 2024
1 parent e2cb63a commit 01ae08d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ansible-lint.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@ exclude_paths:
- ceph-ansible
- roles/systemd_networkd
- roles/corosync
- playbooks/update_machine_*

# ceph-ansible, systemd_networkd and corosync are submodules and seapath don't
# have control of them.
# Update playbooks take a machine name as environement variable. There is no
# way to pass it to ansible-lint, these playbooks must be ignored

skip_list:
- yaml # yaml syntax warnings
Expand Down

0 comments on commit 01ae08d

Please sign in to comment.