Skip to content

Commit

Permalink
linted
Browse files Browse the repository at this point in the history
  • Loading branch information
zerwes committed Jan 31, 2024
1 parent 308dd6c commit cc36a2e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .ansible-lint
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
exclude_paths:
- .github/

skip_list:
- 'name[casing]'
- 'name[template]'
4 changes: 2 additions & 2 deletions tasks/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
ansible.builtin.set_fact:
_opn_initial_product_version: "{{ ansible_local.opnsense.core.product_version }}"

- name: set reboot_timeout ...
- name: set reboot_timeout ... # noqa jinja[spacing]
ansible.builtin.set_fact:
_opn_reboot_timeout: "
{%- if _opn_major_update -%}
Expand All @@ -76,7 +76,7 @@
{%- endif -%}"
when: _opn_reboot_required

- name: run update
- name: run update # noqa no-changed-when
ansible.builtin.command: /usr/local/etc/rc.firmware
when: not _opn_reboot_required

Expand Down

0 comments on commit cc36a2e

Please sign in to comment.