Commit 2aea541a authored by Jean-Francois Rey's avatar Jean-Francois Rey
Browse files

change playbook to roles

parent e5f00872
- name: copy msys2 config script
win_copy:
src: ./files/configure-msys2.sh
dest: 'C:\Windows\Temp\'
remote_src: no
- name: Configure MSYS2
win_command: C:\Rtools\usr\bin\bash.exe -l C:\Windows\Temp\configure-msys2.sh
- name: copy msys2 sshd install script
win_copy:
src: ./files/install-msys2-sshd.sh
dest: 'C:\Windows\Temp\'
remote_src: no
- name: Install MSYS2 ssh deamon
win_command: C:\Rtools\usr\bin\bash.exe -l C:\Windows\Temp\install-msys2-sshd.sh
- name: Enable Firewall for sshd
win_shell: |
netsh advfirewall firewall add rule name="SSHD" dir=in action=allow service=msys2_sshd enable=yes
netsh advfirewall firewall add rule name="SSHD" dir=in action=allow program="C:\Rtools\usr\bin\sshd.exe" enable=yes
netsh advfirewall firewall add rule name="ssh" dir=in action=allow protocol=TCP localport=22
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment