#jinja2: lstrip_blocks: True {{ ansible_managed | comment }} WOODPECKER_SERVER={{ inst.woodpecker_server | default(woodpecker_agent_woodpecker_server) }} WOODPECKER_LOG_LEVEL={{ inst.log_level | default(woodpecker_agent_log_level) }} WOODPECKER_MAX_WORKFLOWS={{ inst.max_workflows | default(woodpecker_agent_max_workflows) }} {% if __woodpecker_agent_filter_labels | length > 0 %} WOODPECKER_FILTER_LABELS={{ __woodpecker_agent_filter_labels | join(",") }} {% endif %} {% if __woodpecker_agent_env | length > 0 %} {% for item in __woodpecker_agent_env %} {{ item.name | upper }}={{ item.value }} {% endfor %} {% for item in inst.env_extra %} {{ item.name | upper }}={{ item.value }} {% endfor %} {% endif %} WOODPECKER_BACKEND=docker DOCKER_HOST=unix:///var/run/docker.sock