{# Copyright (C) 2015-2018 Robin Schneider <ypid@riseup.net>
 # Copyright (C) 2018-2019 Maciej Delmanowski <drybjed@gmail.com>
 # Copyright (C) 2018-2019 DebOps <https://debops.org/>
 # SPDX-License-Identifier: GPL-3.0-only
 #}
# {{ ansible_managed }}

{% if item.comment|d() %}
{{ item.comment | regex_replace('\n$','') | comment(prefix='', postfix='') }}
{% endif %}
{% if item.modules|d() %}
{%   for element in ([ item.modules ] if item.modules is string else item.modules) %}
{{ element }}
{%   endfor %}
{% else %}
{{ item.name }}
{% endif %}
