egdoc.jetbrains

Ansible Role: Jetbrains

This Ansible role is used to install Jetbrains IDEs on Linux systems. It downloads, checks, and installs the chosen IDEs, and also sets up desktop launchers for them.

Role Variables

  • jetbrains_ide: []
    A list of IDEs and their versions that you want to install (see the example below).

  • jetbrains_installation_dir: /opt/jetbrains
    The main directory where IDEs will be installed.

  • jetbrains_remove_other_versions: true
    This option decides if previously installed versions of the IDEs should be removed after the new installation.

  • jetbrains_releases_url: https://data.services.jetbrains.com/products/releases
    The link to get information about the available IDEs.

  • jetbrains_launcher_dir: /usr/local/share/applications
    The directory where the IDE launchers will be created.

  • jetbrains_binary_dir: /usr/local/bin
    The directory where links to the IDE executables will be set up.

  • jetbrains_user: root
    The user that will have ownership of the IDE files and directories.

  • jetbrains_link_executable: false
    Determines if a link to the IDE executable should be created in jetbrains_binary_dir.

  • jetbrains_force_reinstall: false
    If set to true, it will reinstall the IDE even if it looks like it's already installed. This can help ensure all the necessary files are placed correctly.

  • jetbrains_code_map:
    A list linking IDE codes to their names:

    • CL: CLion
    • DG: DataGrip
    • DS: DataSpell
    • GO: GoLand
    • IIC: IntelliJ IDEA Community
    • IIU: IntelliJ IDEA Ultimate
    • IIE: IntelliJ IDEA Educational
    • PCC: PyCharm Community
    • PCP: PyCharm Professional
    • PCE: PyCharm Educational
    • PS: PhpStorm
    • RD: Rider
    • RM: RubyMine
    • WS: WebStorm

Dependencies

None

Example Playbook

To install the latest version of PyCharm Community Edition and version 2022.3.1 of PhpStorm:

- hosts: workstations
  roles:
    - role: egdoc.jetbrains
      jetbrains_ide:
        - code: PS
          version: '2022.3.1'
        - code: PCC
          version: latest

License

This role is licensed under GPLv2.

Author Information

Created by Egidio Docile

Informazioni sul progetto

Ansible role to install Jetbrains IDEs

Installa
ansible-galaxy install egdoc.jetbrains
Licenza
Unknown
Download
228
Proprietario