Izveden refactor iz taskov v role
This commit is contained in:
parent
747438dedf
commit
a35460a57b
317 changed files with 2761 additions and 50 deletions
4
roles/git/tasks/main.yml
Normal file
4
roles/git/tasks/main.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
- import_tasks: main_win.yml
|
||||
when: ansible_connection == 'winrm'
|
||||
- import_tasks: main_lin.yml
|
||||
when: ansible_connection == 'ssh'
|
4
roles/git/tasks/main_lin.yml
Normal file
4
roles/git/tasks/main_lin.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
- name: Install git
|
||||
apt:
|
||||
name: git
|
||||
state: latest
|
8
roles/git/tasks/main_win.yml
Normal file
8
roles/git/tasks/main_win.yml
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue