GithubHelp home page GithubHelp logo

professormanhattan / ansible-androidstudio Goto Github PK

View Code? Open in Web Editor NEW
18.0 2.0 4.0 83.56 MB

๐Ÿš€ Installs Android Studio and sets up Android SDKs on nearly any OS ๐ŸŽŸ

Home Page: https://megabyte.space

License: Other

Shell 69.93% PowerShell 2.03% JavaScript 1.92% Ruby 10.51% Python 15.52% Dockerfile 0.09%
adb android androidsdk androidstudio ansible apps awesome desktop development google

ansible-androidstudio's People

Contributors

professormanhattan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

mdjward spryrocks

ansible-androidstudio's Issues

Playbook execution fails on Ubuntu

  • I'm submitting a ...
    [x] bug report
    [ ] feature request
    [ ] question about the decisions made in the repository
    [ ] question about how to use this project

  • Description

The playbook execution fails on Pop!_OS 21.04 (based on Ubuntu). Even when forcing the playbook execution the software is not installed properly.

  • Other information (e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)
florian@pop-os:~$ ansible-galaxy install professormanhattan.androidstudio
Starting galaxy role install process
- downloading role 'androidstudio', owned by professormanhattan
- downloading role from https://github.com/ProfessorManhattan/ansible-androidstudio/archive/master.tar.gz
- extracting professormanhattan.androidstudio to /home/florian/.ansible/roles/professormanhattan.androidstudio
- professormanhattan.androidstudio (master) was installed successfully
- adding dependency: professormanhattan.snapd
- adding dependency: professormanhattan.homebrew
- adding dependency: professormanhattan.java
- downloading role 'snapd', owned by professormanhattan
- downloading role from https://github.com/ProfessorManhattan/ansible-snapd/archive/master.tar.gz
- extracting professormanhattan.snapd to /home/florian/.ansible/roles/professormanhattan.snapd
- professormanhattan.snapd (master) was installed successfully
- downloading role 'homebrew', owned by professormanhattan
[WARNING]: - professormanhattan.homebrew was NOT installed successfully: -
sorry, professormanhattan.homebrew was not found on
https://galaxy.ansible.com/api/.
ERROR! - you can use --ignore-errors to skip failed roles and finish processing the list.

When forcing playbook execution:

florian@pop-os:~$ ansible-galaxy install professormanhattan.androidstudio --ignore-errors --force
Starting galaxy role install process
- changing role professormanhattan.androidstudio from master to unspecified
- downloading role 'androidstudio', owned by professormanhattan
- downloading role from https://github.com/ProfessorManhattan/ansible-androidstudio/archive/master.tar.gz
- extracting professormanhattan.androidstudio to /home/florian/.ansible/roles/professormanhattan.androidstudio
- professormanhattan.androidstudio (master) was installed successfully
[WARNING]: - dependency professormanhattan.snapd (None) from role professormanhattan.androidstudio differs from already installed version (master), skipping
- adding dependency: professormanhattan.homebrew
- adding dependency: professormanhattan.java
- downloading role 'homebrew', owned by professormanhattan
[WARNING]: - professormanhattan.homebrew was NOT installed successfully: - sorry, professormanhattan.homebrew was not found on https://galaxy.ansible.com/api/.
- downloading role 'java', owned by professormanhattan
[WARNING]: - professormanhattan.java was NOT installed successfully: - sorry, professormanhattan.java was not found on https://galaxy.ansible.com/api/.

Ensure commandline-tools archive is downloaded task is failing due to checksum mismatch

  • I'm submitting a ...
    [x] bug report
    [ ] feature request
    [ ] question about the decisions made in the repository
    [ ] question about how to use this project

Steps to reproduce:

dependencies:
  - role: professormanhattan.androidstudio
    user_configs:
      - username: ubuntu
        system: true

Result:

    amazon-ebs: TASK [professormanhattan.androidstudio : Ensure commandline-tools archive is downloaded] ***
    amazon-ebs: Tuesday 24 May 2022  18:13:39 +0300 (0:00:00.143)       0:06:44.233 ***********
    amazon-ebs: fatal: [default]: FAILED! => {"changed": true, "checksum_dest": null, "checksum_src": "5e7bf2dd563d34917d32f3c5920a85562a795c93", "dest": "/tmp/commandlinetools-linux-8512546_latest.zip", "elapsed": 0, "msg": "The checksum for /tmp/commandlinetools-linux-8512546_latest.zip did not match 5e7bf2dd563d34917d32f3c5920a85562a795c93; it was 2ccbda4302db862a28ada25aa7425d99dce9462046003c1714b059b5c47970d8.", "src": "/root/.ansible/tmp/ansible-moduletmp-1653405221.423859-6jitlcxz/tmpv55h7esk", "url": "https://dl.google.com/android/repository/commandlinetools-linux-8512546_latest.zip"}
    amazon-ebs:

Note that 2ccbda4302db862a28ada25aa7425d99dce9462046003c1714b059b5c47970d8 is the SHA256 checksum and 5e7bf2dd563d34917d32f3c5920a85562a795c93 is the SHA1 checksum, both of the same file

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.