Only add rsyncd role if env != staging

This commit is contained in:
Adrian Reber 2015-06-22 19:43:48 +00:00
parent 5df3d94fbb
commit 48f1f8c31b

View file

@ -71,7 +71,8 @@
roles: roles:
- mirrormanager/crawler - mirrormanager/crawler
- rsyncd - { role: rsyncd,
when: env != "staging" }
handlers: handlers:
- include: "{{ handlers }}/restart_services.yml" - include: "{{ handlers }}/restart_services.yml"