--- - hosts: all tasks: - apt: name: foo update_cache: true name: "Update repositories cache and install \"foo\" package"