Skip to content

Commit

Permalink
[nginx] Fix formatting issue found by ansible-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
drybjed committed Oct 28, 2024
1 parent ebe67bd commit a7f7af1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansible/roles/nginx/tasks/nginx_servers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@

- name: Generate nginx server configuration
ansible.builtin.template:
src: '{{ lookup("debops.debops.template_src", "etc/nginx/sites-available/" + ( item.type | d(nginx_default_type) ) + ".conf.j2") }}'
src: '{{ lookup("debops.debops.template_src", "etc/nginx/sites-available/" + (item.type | d(nginx_default_type)) + ".conf.j2") }}'
dest: '/etc/nginx/sites-available/{{ item.filename | d(item.name
if item.name is string
else item.name[0] | d("default")) }}.conf'
Expand Down

0 comments on commit a7f7af1

Please sign in to comment.