Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
R ecosystem
WindowsR
Commits
2aea541a
Commit
2aea541a
authored
Feb 08, 2021
by
Jean-Francois Rey
☕
Browse files
change playbook to roles
parent
e5f00872
Changes
21
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
ansible_provisioning/roles/msys2/tasks/main.yml
0 → 100644
View file @
2aea541a
-
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
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment