Add some programs to msys2

Also only install packages once.
This commit is contained in:
Timotej Lazar 2022-09-29 08:16:53 +00:00
parent 2718bc29e8
commit 902ce1d464

View file

@ -16,9 +16,6 @@
path: "{{ download.dest }}" path: "{{ download.dest }}"
arguments: install --confirm-command --accept-messages --root C:\msys64 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 - name: Remove temporary files
win_file: win_file:
path: "{{ download.dest }}" path: "{{ download.dest }}"
@ -29,10 +26,15 @@
src: "C:\\msys64\\msys2.exe" src: "C:\\msys64\\msys2.exe"
dest: "C:\\Users\\Public\\Desktop\\msys2.lnk" dest: "C:\\Users\\Public\\Desktop\\msys2.lnk"
- name: Update msys2
win_command: C:\\msys64\\usr\\bin\\pacman -Syu --noconfirm
- name: Install essentials - name: Install essentials
win_command: C:\\msys64\\usr\\bin\\pacman -S --noconfirm {{ item }} win_command: C:\\msys64\\usr\\bin\\pacman -S --noconfirm {{ item }}
loop: loop:
- gcc - gcc
- git - git
- nano
- rlwrap - rlwrap
- rsync - rsync
- vim