Skip to content

Latest commit

 

History

History

Ansible Role Android Studio

Molecule test This is an Ansible role to install and configure Android Studio.

Include more information about android_studio in this section.

Requirements

These platforms are supported:

  • Ubuntu 20.04
  • Ubuntu 22.04
  • Debian 11
  • Debian 12
  • EL 8 (Tested on Rocky Linux 8)
  • EL 9 (Tested on Rocky Linux 9)
  • Fedora 40
  • openSUSE Leap 15.5

Role Variables

Variable Default Description
jetbrains_android_studio_version 2022.2.1.20 Version of Android Studio to install
jetbrains_android_studio_plugins [] List of plugin IDs to install
jetbrains_android_studio_plugins_user {{ ansible_user_id }} User to install plugins for. Defaults to the remote user
jetbrains_android_studio_plugins_group {{ ansible_user_id }} Group to install plugins for. Defaults to the remote user

Dependencies

  • diademiemi.jetbrains.common role

Example Playbook

- name: Use diademiemi.jetbrains.android_studio role
  hosts: "{{ target | default('android_studio') }}"
  roles:
    - role: "diademiemi.jetbrains.android_studio"
      tags: ['diademiemi', 'android_studio', 'setup']    ```

License

MIT

Author Information

  • diademiemi (@diademiemi)

Role Testing

This repository comes with Molecule that run in Podman on the supported platforms. Install Molecule by running

pip3 install -r requirements.txt

Run the tests with

molecule test

These tests are automatically ran by GitHub Actions on push. If the tests are successful, the role is automatically published to Ansible Galaxy.