# {{ ansible_managed }} {% for client_name, client in bareos_server_clients.items() %} {% for job_name, job in client.jobs.items() %} Job { Name = {{ job.name|default(client_name + '-' + job_name) }} Type = {{ job.type|default('Backup') }} Messages = Standard Client = {{ client_name }} FileSet = {{ job.fileset }} Storage = {{ job.storage }} Pool = {{ client_name }} {% if 'maximum_bandwidth' in job %} Maximum Bandwidth = {{ job.maximum_bandwidth }} {% endif %} {% if 'schedule' in job %} Schedule = {{ job.schedule }} {% endif %} } {% endfor %} {% endfor %}