Main Playbook | Galaxy | Contributing | Chat | Website
An Ansible role that installs Android Studio on nearly any OS
This repository contains an Ansible role that will install Android Studio on nearly any OS. Android Studio is the official integrated development environment for Google's Android operating system, built on JetBrains' IntelliJ IDEA software and designed specifically for Android development.
The following chart shows the operating systems that have been tested for compatibility. This chart is automatically generated using the Ansible Molecule tests you can view in the molecule/default/ folder. We currently have logic in place to automatically handle the testing of Archlinux, CentOS, Debian, Fedora, Ubuntu, and Windows. If your operating system is not listed but is a variant of one of the systems we test then it might still work.
| OS Family | OS Version | Status | Idempotent |
|---|---|---|---|
| Fedora | 33 | ❌ | ❌ |
| Ubuntu | focal | ✅ | ❌ |
Most of our roles rely on Ansible Galaxy collections. Some of our projects are also dependent on other roles and collections that are published on Ansible Galaxy. Before you run this role, you will need to install the collection and role dependencies by running:
ansible-galaxy install -r requirements.yml
At the beginning of the play, the galaxy role dependencies listed in meta/main.yml will run. These dependencies are configured to only run once per playbook. If you include more than one of our roles in your playbook that have dependencies in common then the dependency installation will be skipped after the first run. Some of our roles also utilize helper roles which help keep our main playbook DRY. A full list of the dependencies along with quick descriptions is below:
| Role Dependency | Description |
|---|---|
| professormanhattan.java | Installs Java on nearly any OS |
| professormanhattan.snapd | Ensures Snap is installed on Linux systems |
With the dependencies installed, all you have to do is add the role to your main playbook. The role handles the become behavior so you can simply add the role to your playbook without having to worry about commands that should not be run as root:
- hosts: all
roles:
- professormanhattan.androidstudio
Contributions, issues, and feature requests are welcome! Feel free to check the issues page. If you would like to contribute, please take a look at the contributing guide.
Sponsorship
I create open source projects out of love. Although I have a job, shelter, and as much fast food as I can handle, it would still be pretty cool to be appreciated by the community for something I have spent a lot of time and money on. Please consider sponsoring me! Who knows? Maybe I will be able to quit my job and publish open source full time.
Sincerely,
Brian Zalewski
Copyright © 2021 Megabyte LLC. This project is MIT licensed.
