Coder Social home page Coder Social logo

ansible-role-rider's Introduction

This role installs Rider and configured plugins. It has been tested on Linux Mint 18 but should work on most distributions. By default it installs Rider Early build RC-171.4456.1432 and no additional plugins

By default Rider is installed under the user's home directory and become is not needed.

Requirements

None

Role Variables

rider_version: RC-171.4456.1432
rider_download_mirror: https://download.jetbrains.com/resharper/
rider_plugin_download_mirror: "https://plugins.jetbrains.com/plugin/download?updateId="
rider_plugins: []
rider_download_directory: /tmp
rider_user_dir: "~{{ (rider_install_user is defined) | ternary(rider_install_user, ansible_user_id) }}"
rider_install_directory: "{{ rider_user_dir | expanduser  }}/Tools"

# calculated
rider_install_file: "Rider-{{ rider_version }}.tar.gz"
rider_download_url: "{{ rider_download_mirror }}{{ rider_install_file }}"
rider_location: "{{ rider_install_directory }}/rider-{{ rider_version }}"
rider_desktop_file_location: "{{ rider_user_dir | expanduser }}/.local/share/applications/rider-{{ rider_version }}.desktop"
  • rider_plugins is a list of names which get appended to rider_plugin_download_mirror to form a full download
  • Defining rider_install_user allows the role to install under a different user, however become is required

Dependencies

None

Example

Example playbook

- hosts: localhost
  connection: local

roles:
  - henriklyngaard.rider

Exmaple inventory for plugins

The below IDs have been found by going to https://plugins.jetbrains.com/gogland and searching for the plugin. Once found copy the link location for the desired version and use the updateId=XXXXX part at the end

rider_plugins:
  # ignore 1.7.6
  - 32828
  # bash support 1.6.5.171
  - 31610
  # ansible 0.9.4
  - 27616
  # docker 2.5.3
  - 33621
  # markdown 2017.1.20170302
  - 33092      

Alternatively upload the required plugins to a webserver and adjust rider_plugin_download_mirror and rider_plugins accordingly

License

MIT

Change log

  • 1.0: Initial version

ansible-role-rider's People

Contributors

henriklynggaard avatar

Watchers

 avatar

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.