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
MacOSR
Commits
f1d684fb
Commit
f1d684fb
authored
Oct 22, 2020
by
Jean-Francois Rey
☕
Browse files
add waiting time for ssh connection
parent
ba901f44
Pipeline
#2531
failed with stages
in 59 minutes and 32 seconds
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Vagrantfile
View file @
f1d684fb
...
...
@@ -9,6 +9,7 @@ Vagrant.configure("2") do |config|
# Configure SSH Connectivity
config
.
ssh
.
username
=
"vagrant"
config
.
ssh
.
password
=
"vagrant"
config
.
ssh
.
insert_key
=
false
config
.
ssh
.
export_command_template
=
'export PATH=/usr/local/bin:$PATH'
config
.
vm
.
provider
"virtualbox"
do
|
vb
|
...
...
@@ -28,6 +29,9 @@ Vagrant.configure("2") do |config|
ansible
.
inventory_path
=
"ansible_provisioning/group_vars/inventory.yml"
ansible
.
verbose
=
"-vv"
ansible
.
limit
=
"macos"
ansible
.
raw_arguments
=
[
"--timeout=1000"
]
end
end
ansible_provisioning/group_vars/inventory.yml
View file @
f1d684fb
...
...
@@ -7,4 +7,6 @@ macos:
ansible_password
:
vagrant
ansible_port
:
2222
ansible_connection
:
ssh
#ansible_ssh_pipelining: True
#ansible_persistent_command_timeout: 120
ansible_provisioning/playbook.yml
View file @
f1d684fb
...
...
@@ -6,6 +6,10 @@
tasks
:
-
name
:
ping
ping
:
-
name
:
waiting ssh up
wait_for_connection
:
delay
:
15
timeout
:
300
#- name: Update MacOS
# script: files/update-macos.sh
#- name: reboot after update
...
...
@@ -13,12 +17,28 @@
# reboot_timeout: 3600
-
name
:
Install R and dependencies
script
:
files/install-r.sh
-
name
:
waiting ssh up
wait_for_connection
:
delay
:
15
timeout
:
300
-
name
:
Install R packages and dependencies
script
:
files/install-r-library.sh
-
name
:
waiting ssh up
wait_for_connection
:
delay
:
15
timeout
:
300
-
name
:
Install MacTex
script
:
files/install-mactex.sh
-
name
:
waiting ssh up
wait_for_connection
:
delay
:
15
timeout
:
300
-
name
:
Install Xquartz
script
:
files/install-xquartz.sh
-
name
:
waiting ssh up
wait_for_connection
:
delay
:
15
timeout
:
300
-
name
:
Install GitLab-Runner
script
:
files/install-gitlabrunner.sh
Write
Preview
Markdown
is supported
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