Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: updates to match latest linting rules
Browse files Browse the repository at this point in the history
Signed-off-by: Zakhar Bessarab <[email protected]>
zekker6 committed Feb 22, 2024

Verified

This commit was signed with the committer’s verified signature.
1 parent eaa856f commit d5be656
Showing 4 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .ansible-lint
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
skip_list:
- 'var-naming[no-role-prefix]'
6 changes: 3 additions & 3 deletions roles/single/tasks/install.yml
Original file line number Diff line number Diff line change
@@ -72,7 +72,7 @@
- not victoriametrics_is_installed.stat.exists or
victoriametrics_version not in victoriametrics_current_version.stdout

- name: Upload VictoriaMetrics release binary
- name: Upload VictoriaMetrics release binary # noqa: no-handler
ansible.builtin.copy:
src: /tmp/vic-single/victoria-metrics-prod
dest: /usr/local/bin
@@ -82,7 +82,7 @@
when:
- archive_downloaded is changed

- name: Download VictoriaMetrics utils
- name: Download VictoriaMetrics utils # noqa: no-handler
become: no
environment:
http_proxy: ''
@@ -95,7 +95,7 @@
when:
- archive_downloaded is changed

- name: Upload VictoriaMetrics release binaries
- name: Upload VictoriaMetrics release binaries # noqa: no-handler
ansible.builtin.copy:
src: "/tmp/vic-utils/{{ item }}"
dest: /usr/local/bin
4 changes: 2 additions & 2 deletions roles/single/tests/playbook.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
- hosts: all
name: Test role
- name: Test role
hosts: all
become: true
roles:
- "single"
2 changes: 1 addition & 1 deletion roles/vmagent/molecule/default/verify.yml
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@
ansible.builtin.get_url:
url: "{{ goss_url }}"
dest: "{{ goss_bin }}"
sha256sum: "{{ goss_sha256sum }}"
sha256sum: "{{ goss_sha256sum }}" # noqa: args[module]
mode: "u=rwx,go=rx"
register: download_goss
until: download_goss is succeeded

0 comments on commit d5be656

Please sign in to comment.