Skip to content
Snippets Groups Projects
Commit 91a82b22 authored by Robin Sonnabend's avatar Robin Sonnabend
Browse files

Add loop control label for apps and instances

This does not actually do anything right now, since the combination of
loop_control and (include|import)_*, but in 2.6.y or 2.7 it should work.

For reference: https://github.com/ansible/ansible/issues/42301
parent 0da01e12
No related branches found
No related tags found
2 merge requests!3Unify uwsgi python,!2Unify Unification Branches
---
# files: uwsgi-python/defaults/main.yml
uwsgi_name: uwsgi
uwsgi_user: uwsgi
uwsgi_group: uwsgi
uwsgi_home: /var/www
uwsgi_path: /var/www
uwsgi_program: server.py
uwsgi_callable: app
uwsgi_command: runserver
uwsgi_db: none
uwsgi_python: 3
uwsgi_mules: 0
uwsgi_mountpoint: /
uwsgi_enable_threads: false
......@@ -38,6 +38,7 @@
with_items: "{{ webapps }}"
loop_control:
loop_var: app
label: "{{app.app}} {{app.instance}}"
tags:
- uwsgi
- webservices
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment