-
Notifications
You must be signed in to change notification settings - Fork 200
/
.ansible-lint
30 lines (28 loc) · 971 Bytes
/
.ansible-lint
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
---
skip_list:
- command-instead-of-module # Using command rather than module
- command-instead-of-shell # Use shell only when shell functionality is required
- git-latest # Git checkouts must contain explicit version
- meta-no-info # meta/main.yml should contain relevant info
- no-changed-when # Commands should not change things if nothing needs doing
- package-latest # Package installs should not use latest
- jinja[spacing]
- role-name[path]
- name[missing]
- name[play]
- name[template]
- name[casing]
- risky-file-permissions
- ignore-errors
- fqcn[action-core]
- fqcn[action]
- var-naming[no-role-prefix]
# Define required Ansible's variables to satisfy syntax check
extra_vars:
pipeline_type: foreman
pipeline_version: nightly
pipeline_os: centos9-stream
# Mock roles in order to pass ansible-playbook --syntax-check
mock_roles:
- pulp.pulp_installer.pulp_all_services
- pulp.pulp_installer.pulp_health_check