pixelart.phpstorm
Ansible Role: PhpStorm
This role installs the Jetbrains PhpStorm IDE on any Linux or UNIX system.
Requirements
- You need to have
java
installed and running.
Role Variables
Here are the variables you can set, along with their default values (see defaults/main.yml
):
phpstorm_version: '2017.1.3'
This is the version of PhpStorm that you want to install.
phpstorm_install_basepath: '/opt/jetbrains'
This is the main folder where PhpStorm will be installed.
phpstorm_install_prefix: 'phpstorm'
This is the name used for the installation folder inside the base path. When combined with
phpstorm_version
andphpstorm_install_basepath
, this results in the default install path:/opt/jetbrains/phpstorm-2017.1.3
.phpstorm_commandline_launcher: 'pstorm'
This is the name of the command-line launcher. Set to
False
if you don't want to install one.phpstorm_cleanup_releases: []
Here you can specify the version numbers of old PhpStorm releases that you want to remove. Make sure not to change
phpstorm_install_basepath
andphpstorm_install_prefix
when upgrading if you want to clean up old versions. If you do change them, the old versions won't be found.Note: Never delete the version that you are currently using for an upgrade, as it may be open and cause crashes.
Dependencies
None.
Example Playbook
- hosts: phpdevs
roles:
- pixelart.phpstorm
After running this playbook, PhpStorm will be installed, and a regular user will be able to access both the application and the command-line launcher.
Code of Conduct
This project follows a Contributor Code of Conduct. By participating, you agree to follow its guidelines.
License
MIT License. See the LICENSE file for details.
Author Information
This role was created in 2017 by pixelart GmbH.
ansible-galaxy install pixelart.phpstorm