Add some programs to msys2
Also only install packages once.
This commit is contained in:
parent
2718bc29e8
commit
902ce1d464
|
@ -16,23 +16,25 @@
|
|||
path: "{{ download.dest }}"
|
||||
arguments: install --confirm-command --accept-messages --root C:\msys64
|
||||
|
||||
- name: Update msys2
|
||||
win_command: C:\\msys64\\usr\\bin\\pacman -Syu --noconfirm
|
||||
|
||||
- name: Remove temporary files
|
||||
win_file:
|
||||
path: "{{ download.dest }}"
|
||||
state: absent
|
||||
|
||||
- name: Create desktop shortcut
|
||||
win_shortcut:
|
||||
src: "C:\\msys64\\msys2.exe"
|
||||
dest: "C:\\Users\\Public\\Desktop\\msys2.lnk"
|
||||
- name: Create desktop shortcut
|
||||
win_shortcut:
|
||||
src: "C:\\msys64\\msys2.exe"
|
||||
dest: "C:\\Users\\Public\\Desktop\\msys2.lnk"
|
||||
|
||||
- name: Install essentials
|
||||
win_command: C:\\msys64\\usr\\bin\\pacman -S --noconfirm {{ item }}
|
||||
loop:
|
||||
- gcc
|
||||
- git
|
||||
- rlwrap
|
||||
- rsync
|
||||
- name: Update msys2
|
||||
win_command: C:\\msys64\\usr\\bin\\pacman -Syu --noconfirm
|
||||
|
||||
- name: Install essentials
|
||||
win_command: C:\\msys64\\usr\\bin\\pacman -S --noconfirm {{ item }}
|
||||
loop:
|
||||
- gcc
|
||||
- git
|
||||
- nano
|
||||
- rlwrap
|
||||
- rsync
|
||||
- vim
|
||||
|
|
Loading…
Reference in a new issue