Skip to content

Commit

Permalink
Working on ansible-lint offenses
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandermeindl committed Nov 17, 2024
1 parent 7a2eb1c commit 02a483b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ansible-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,5 @@ jobs:

- name: Lint Ansible Playbook
uses: ansible/ansible-lint@main
with:
requirements_file: testing_requirements.yml
4 changes: 2 additions & 2 deletions roles/redmine_fast_rollout/tasks/instance_plugin.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---

- name: with plugin definition
- name: With plugin definition
when: custom_available_plugins.stat.exists
block:
- name: Set plugin - {{ instance_name }}
Expand All @@ -15,7 +15,7 @@
depth: '{{ 0 if redmine_full_remote_deploy else 1 }}'
force: true

- name: without plugin definition
- name: Without plugin definition
when: not custom_available_plugins.stat.exists
block:
- name: Update existing plugin git source for {{ plugin_name }}
Expand Down
5 changes: 5 additions & 0 deletions testing_requirements.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
collections:
- name: https://github.com/alphanodes/ansible-collection-setup.git
type: git
version: main

0 comments on commit 02a483b

Please sign in to comment.