This repository was archived by the owner on Mar 30, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +15
-13
lines changed Expand file tree Collapse file tree 7 files changed +15
-13
lines changed Original file line number Diff line number Diff line change 2424Here is the list of all variables and their default values:
2525
2626- ` install_pycharm ` : ` false `
27+ - ` pycharm_flavor ` : ` pycharm-community ` . You can use also ` pycharm-professional ` or ` pycharm-educational ` .
2728- ` install_vscode ` : ` false `
2829- ` vscode_extensions ` : optional list of name_ids of extensions. eg.: ms-python.python (Python Official Extension)
2930
@@ -47,6 +48,7 @@ Here is the list of all variables and their default values:
4748 - role : staticdev.python-developer
4849 vars :
4950 install_pycharm : true
51+ pycharm_flavor : pycharm-educational
5052
5153# role with vscode and extensions
5254- hosts : all
Original file line number Diff line number Diff line change 11---
22install_pycharm : false
3+ pycharm_flavor : pycharm-community
34install_vscode : false
Original file line number Diff line number Diff line change 11---
2- # handlers file for staticdev.python-developer
2+ - name : delete poetry installer
3+ file :
4+ path : " /home/{{ lookup('env', 'USER') }}/get-poetry.py"
5+ state : absent
Original file line number Diff line number Diff line change @@ -34,11 +34,8 @@ galaxy_info:
3434 - precommit
3535
3636dependencies :
37- - name : avanov.pyenv
38- version : 1.1.0
39- # - name: oefenweb.pycharm
40- # version: v5.0.7
41- # when: "{{ install_pycharm }}"
37+ - name : staticdev.ansible_galaxy_pyenv
38+ version : 1.1.1
4239 # - name: gantsign.visual-studio-code
4340 # version: 6.6.0
4441 # when: "{{ install_vscode }}"
Original file line number Diff line number Diff line change 22roles :
33 - name : staticdev.ansible_galaxy_pyenv
44 version : 1.1.1
5- - name : oefenweb.pycharm
6- version : v5.0.7
7- when : " {{ install_pycharm }}"
85 - name : gantsign.visual-studio-code
96 version : 6.6.0
107 when : " {{ install_vscode }}"
Original file line number Diff line number Diff line change 11---
22- name : Install pyenv
33 import_role :
4- name : avanov.pyenv
4+ name : staticdev.ansible_galaxy_pyenv
55 vars :
66 pyenv_owner : " {{ lookup('env', 'USER') }}"
77 pyenv_path : " {{ lookup('env', 'HOME') }}/pyenv"
3939 changed_when : false
4040 ignore_errors : true
4141
42- - name : Download poetry
42+ - name : Download poetry installer
4343 get_url :
4444 url : https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py
4545 dest : " {{ lookup('env', 'HOME') }}"
4646 mode : " 0400"
4747 when : poetry_version_cmd is failed
48+ notify : delete poetry installer
4849
4950- name : Install poetry
5051 command : " python {{ lookup('env', 'HOME') }}/get-poetry.py"
Original file line number Diff line number Diff line change 11---
22- name : Install pycharm
3- include_role :
4- name : oefenweb.pycharm
3+ community.general.snap :
4+ name : " {{ pycharm_flavor }}"
5+ classic : true
56 become : true
You can’t perform that action at this time.
0 commit comments