Izveden refactor iz taskov v role

This commit is contained in:
Polz 2023-09-11 22:30:48 +02:00
parent 747438dedf
commit a35460a57b
317 changed files with 2761 additions and 50 deletions

View file

@ -0,0 +1,4 @@
- import_tasks: main_win.yml
when: ansible_connection == 'winrm'
- import_tasks: main_lin.yml
when: ansible_connection == 'ssh'

View file

@ -0,0 +1,12 @@
- name: Install PyCharm
block:
- name: Create destination for JetBrains PyCharm
file:
path: /opt/PyCharm
state: directory
- name: Download and unpack JetBrains PyCharm
unarchive:
src: https://download.jetbrains.com/python/pycharm-community-2023.2.1.tar.gz
dest: /opt/PyCharm
creates: /opt/PyCharm/pycharm-community-2023.2.1/build.txt
remote_src: yes

View file

@ -0,0 +1,10 @@
- name: Set PyCharm version
set_fact:
target_version: "2023.2.1"
- name: Install PyCharm
win_chocolatey:
name: pycharm-community
version: "{{ target_version }}"
# TODO set default project directory to H:\something