- hosts: aria2 roles: - apache - aria2 tasks: - name: ensure apache is running service: name=httpd state=started