- hosts: '{{ hosts_name }}' name: install docker_images tasks: - name: install docker images import_tasks: task_docker_images.yml