nickpack / ansible-role-android-sdk

Install Android SDK tools and packages, headless, with ansible.
Other
40 stars 32 forks source link

Getting error installing dependencies #10

Closed rodrigdav closed 7 years ago

rodrigdav commented 7 years ago

When I run this against LinuxMint 17 using ansible 2.2.0.0 I get the following error. I was able to get this working by changing the with_items statement in the dependencies play. I will submit a PR with this fix momentarily.


    "failed": true,
    "invocation": {
        "module_args": {
            "allow_unauthenticated": false,
            "autoremove": false,
            "cache_valid_time": 0,
            "deb": null,
            "default_release": null,
            "dpkg_options": "force-confdef,force-confold",
            "force": false,
            "install_recommends": null,
            "name": [
                "ubuntu_dependency_packages"
            ],
            "only_upgrade": false,
            "package": [
                "ubuntu_dependency_packages"
            ],
            "purge": false,
            "state": "latest",
            "update_cache": false,
            "upgrade": null
        },
        "module_name": "apt"
    },
    "item": [
        "ubuntu_dependency_packages"
    ],
    "msg": "No package matching 'ubuntu_dependency_packages' is available"
}```