Commit 533e7c1e authored by Pietsch, Martin's avatar Pietsch, Martin

bugfix: loop over package_services for starting services

parent 25d7eb1e
...@@ -20,7 +20,10 @@ ...@@ -20,7 +20,10 @@
- name: start lighttpd - name: start lighttpd
service: service:
name: "{{ package_service[os.distribution | lower()] }}" name: "{{ _service }}"
state: started state: started
loop: "{{ package_services[os.distribution | lower()] }}"
loop_control:
loop_var: _service
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment