Skip to content

Commit e46bb36

Browse files
committed
fix: linting errors
1 parent c62fd39 commit e46bb36

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

.github/workflows/ansible-lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
pip install ansible ansible-lint
2828
- name: Analysing all playbooks
2929
run: |
30-
ansible-lint install/*.yml --skip-list package-latest,deprecated-bare-vars,deprecated-command-syntax,deprecated-module,unnamed-task,yaml[truthy],role-name,meta-main[unsupported-tags],meta-runtime,var-naming[no-role-prefix],deprecated-module,var-naming[pattern] -v
30+
ansible-lint install/*.yml --skip-list package-latest,deprecated-bare-vars,deprecated-command-syntax,deprecated-module,unnamed-task,yaml[truthy],role-name,meta-main[unsupported-tags],meta-runtime,var-naming[no-role-prefix],deprecated-module,var-naming[pattern],no-handler -v
3131
- name: Analysing all playbook roles
3232
run: |
33-
ansible-lint install/roles/*/*/*.yml --skip-list package-latest,deprecated-bare-vars,deprecated-command-syntax,deprecated-module,unnamed-task,yaml[truthy],role-name,meta-main[unsupported-tags],meta-runtime,var-naming[no-role-prefix],deprecated-module,var-naming[pattern] -v
33+
ansible-lint install/roles/*/*/*.yml --skip-list package-latest,deprecated-bare-vars,deprecated-command-syntax,deprecated-module,unnamed-task,yaml[truthy],role-name,meta-main[unsupported-tags],meta-runtime,var-naming[no-role-prefix],deprecated-module,var-naming[pattern],no-handler -v

install/roles/fluentd/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
{{ ansible_distribution_release }} contrib
5454
state: present
5555
filename: fluentd
56-
56+
5757
- name: Install fluentd
5858
ansible.builtin.apt:
5959
name: td-agent

install/roles/logstash/tasks/main.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,11 @@
7070
register: logstash_unit_copied
7171
become: true
7272

73-
- name: Reload Systemd if we copied in logstash.service unit file
73+
- name: Reload Systemd if we copied in logstash.service unit file # noqa: no-handler
7474
ansible.builtin.systemd:
7575
daemon_reload: true
7676
become: true
7777
when: logstash_unit_copied.changed
78-
7978
# we need a workaround for netty wanting to use /tmp
8079
# on most systems this is mounted via noexec for security reasons
8180
# https://discuss.elastic.co/t/problem-with-cipher-in-beat-input/67841/5

0 commit comments

Comments
 (0)