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,3 @@
- name: Install NetBeans from .deb
apt:
deb: https://github.com/codelerity/netbeans-installers/releases/download/v19-build1/apache-netbeans_19-1_amd64.deb

View file

@ -0,0 +1,9 @@
- name: Set Netbeans version
set_fact:
target_version: "15"
- name: Install Netbeans
win_package:
path: "https://dlcdn.apache.org/netbeans/netbeans-installers/{{ target_version }}/Apache-NetBeans-{{ target_version }}-bin-windows-x64.exe"
arguments: --silent
creates_path: "%ProgramFiles%\\NetBeans-{{ target_version }}\\netbeans\\bin\\netbeans.exe"