Skip to content

weldpua2008/ansible-pycharm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Galaxy Build Status Circle CI

ansible-pycharm

The ansible role to install PyCharm through Ansible. Tested on Ubuntu Linux:

  • 12.04
  • 14.04

Tested on CentOs Linux:

  • 6
  • 7

Requirements

ansible

Variables to change

PyCharm 4.5.3:

  • pycharm_install [default: True]: True - Install; False - Remove
  • pycharm_major [default: 4]: Major version of PyCharm
  • pycharm_minor [default: 5]: Minor version of PyCharm
  • pycharm_build [default: 3]: Build version of PyCharm
  • pycharm_version will generated as {{pycharm_major}}.{{pycharm_minor}}.{{pycharm_build}} [default: 4.5.3]: Version to install
  • pycharm_type [default: community]: Edition to install (e.g. professional)
  • pycharm_base_dir [default: /usr/local/pycharm]: Install prefix

Dependencies

None

Use

You need to create a example playbook file example.yml (below).

Install
ANSIBLE_SHORT_VERSION=`ansible-playbook --version 2> /dev/null|cut -d " " -f2|cut -d "." -f1,2` ansible-playbook -i 127.0.0.1,  -e "pycharm_install=True" example.yml

Example playbook file (example.yml)

If you are using Ansible Galaxy

ansible-galaxy install weldpua2008.pycharm
---
- hosts: all
  roles:
    - weldpua2008.pycharm

if you aren't using Ansible Galaxy

---
- hosts: all
  roles:
    - pycharm

License

MIT

Author Information

Valeriy Solovyov

Feedback, bug-reports, requests, ...

Are welcome! HipChat

About

The ansible role to install PyCharm

Resources

License

Stars

Watchers

Forks

Packages

No packages published