Skip to content

Commit

Permalink
Update lint config
Browse files Browse the repository at this point in the history
  • Loading branch information
nikdoof committed Mar 30, 2024
1 parent 0ac2d25 commit 1ba420d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
7 changes: 4 additions & 3 deletions .ansible-lint
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ mock_modules:
skip_list:
- yaml[line-length]
- name[missing]
- name[template]

warn_list:
- ignore-errors
Expand All @@ -18,6 +17,8 @@ warn_list:
- name[missing]
- name[template]
- jinja[spacing]
- deprecated-module
- name[play]
- var-naming[no-role-prefix]

exclude_paths:
- ./.venv
- ~/.ansible/roles
10 changes: 7 additions & 3 deletions ansible.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
[defaults]
remote_user = ansible
[ssh_connection]
pipelining = True
ssh_args = -o ControlMaster=auto -o ControlPersist=60s

[connection]
[defaults]
inventory = environments/prod
roles_path = ~/.ansible/roles:./roles
host_key_checking = False
pipelining = True
remote_user = ansible

0 comments on commit 1ba420d

Please sign in to comment.