Skip to content

Commit

Permalink
Merge pull request #87 from adfinis/fix_lint_warnings
Browse files Browse the repository at this point in the history
fix: indentation and remove unneded parentheses
  • Loading branch information
SaschaD-Adfinis authored Feb 19, 2025
2 parents 2f33fa4 + 18d4790 commit 616ff33
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions roles/maintenance_31_nginx/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@
one_month_later: "+1m"
register: nginx_cert_info
loop: >-
{%- set cert_content = [] -%}
{%- for result in nginx_cert_files_content.results -%}
{%- set cert_content = cert_content + ([(result.content | b64decode | community.crypto.split_pem)] | flatten) -%}
{%- endfor -%}
{{- cert_content -}}
{%- set cert_content = [] -%}
{%- for result in nginx_cert_files_content.results -%}
{%- set cert_content = cert_content + ([result.content | b64decode | community.crypto.split_pem] | flatten) -%}
{%- endfor -%}
{{- cert_content -}}
changed_when: false
ignore_errors: true
delegate_to: localhost
Expand Down
2 changes: 1 addition & 1 deletion roles/maintenance_32_apache/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@
loop: >-
{%- set cert_content = [] -%}
{%- for result in apache_cert_files_content.results -%}
{%- set cert_content = cert_content + ([(result.content | b64decode | community.crypto.split_pem)] | flatten) -%}
{%- set cert_content = cert_content + ([result.content | b64decode | community.crypto.split_pem] | flatten) -%}
{%- endfor -%}
{{- cert_content -}}
changed_when: false
Expand Down

0 comments on commit 616ff33

Please sign in to comment.