Skip to content
This repository was archived by the owner on Jan 18, 2024. It is now read-only.

Commit 2d829e2

Browse files
committed
Fixed ansible-lint problems
1 parent c3e1395 commit 2d829e2

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

.ansible-lint

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
---
22
strict: true
3+
exclude_paths:
4+
- .github/

defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
---
22
# Whether or not to reload the sysctl configuration if changed
3-
reload_sysctl_if_changed: true
3+
disable_ipv6_reload_sysctl_if_changed: true

handlers/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
ansible.builtin.command:
66
cmd: sysctl --system
77
changed_when: false
8-
when: reload_sysctl_if_changed
8+
when: disable_ipv6_reload_sysctl_if_changed

test/playbook.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
tasks:
77
- name: Include the role from the parent directory
88
ansible.builtin.include_role: { name: "{{ playbook_dir | dirname }}" }
9-
vars:
9+
vars: # noqa: var-naming[no-role-prefix]
1010
ansible_become: true
11-
reload_sysctl_if_changed: false
11+
disable_ipv6_reload_sysctl_if_changed: false

0 commit comments

Comments
 (0)