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

4
roles/git/tasks/main.yml Normal file
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,4 @@
- name: Install git
apt:
name: git
state: latest

View file

@ -0,0 +1,8 @@
- name: Install git
win_chocolatey:
name: git.install
package_params: /GitAndUnixToolsOnPath
- name: Install git-extensions
win_chocolatey:
name: gitextensions, kdiff3