Skip to content

Commit d392a70

Browse files
committed
Set ansible-lint profile to basic
Otherwise it will use production and a lot of new errors have to be handled.
1 parent 5c51ed7 commit d392a70

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.ansible-lint

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# https://ansible-lint.readthedocs.io/en/latest/configuring.html
22

3+
profile: basic
4+
35
skip_list:
46
- yaml # clashes with prettier
57

@@ -14,7 +16,6 @@ mock_modules:
1416
# Ansible 2.9.27 in F35 still contains the k8s module so we can ignore the error until F36,
1517
# where we can switch to kubernetes.core.k8s as ansible-5.x in F36 contains it.
1618
- k8s
17-
- kubernetes.core.k8s
1819
# Ignore until F36, where these are in community.crypto collection (part of ansible-5.x rpm).
1920
- openssh_keypair
2021
- openssl_certificate

playbooks/test_deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
post_tasks:
1717
- name: Delete test project namespace if already exist
18-
kubernetes.core.k8s:
18+
k8s:
1919
name: "{{ test_project_name }}"
2020
api_version: v1
2121
kind: Namespace

playbooks/test_deploy_setup.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@
4242
changed_when: false
4343

4444
- name: Delete test project namespace if already exist
45-
kubernetes.core.k8s:
45+
k8s:
4646
name: "{{ test_project_name }}"
4747
api_version: v1
4848
kind: Namespace
4949
state: absent
5050

5151
- name: Create test project namespace
52-
kubernetes.core.k8s:
52+
k8s:
5353
name: "{{ test_project_name }}"
5454
api_version: v1
5555
kind: Namespace

0 commit comments

Comments
 (0)