Skip to content

Commit

Permalink
fixed jinja spacing warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Thilo Solbrig authored and Rendanic committed Jun 16, 2024
1 parent 0dd808d commit bc9e6fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roles/orahost/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@
regexp: '.*{{ __orahost_etc_hosts_entry.fqdn }}$'
line:
"{{ __orahost_etc_hosts_entry.ip }}
{{ (__orahost_etc_hosts_entry.fqdn|split('.'))[0] }}
{{ (__orahost_etc_hosts_entry.fqdn | split('.'))[0] }}
{{ __orahost_etc_hosts_entry.fqdn is search('\\.') | ternary(__orahost_etc_hosts_entry.fqdn, '') }}\
{% for alias in __orahost_etc_hosts_entry.aliases|default([]) %} {{ alias }}{% endfor %} # ANSIBLE managed"
{% for alias in __orahost_etc_hosts_entry.aliases | default([]) %} {{ alias }}{% endfor %} # ANSIBLE managed"
state: present
loop: "{{ etc_hosts_entries }}"
loop_control:
Expand Down

0 comments on commit bc9e6fa

Please sign in to comment.