Commit 5edbb011 authored by Jean-Francois Rey's avatar Jean-Francois Rey
Browse files

remove async

parent 1636ed53
Pipeline #2626 failed with stages
in 51 minutes and 53 seconds
Vagrant.configure("2") do |config| Vagrant.configure("2") do |config|
config.vm.box = "GAEV/MacOS_Catalina" config.vm.box = "GAEV/MacOS_Catalina"
#config.vm.box_version = "1.2.1"
config.vm.boot_timeout = 1800 config.vm.boot_timeout = 1800
config.vm.synced_folder ".", "/vagrant", disabled: true config.vm.synced_folder ".", "/vagrant", disabled: true
config.vm.allow_fstab_modification = false config.vm.allow_fstab_modification = false
...@@ -19,8 +20,9 @@ Vagrant.configure("2") do |config| ...@@ -19,8 +20,9 @@ Vagrant.configure("2") do |config|
# Display the VirtualBox GUI when booting the machine # Display the VirtualBox GUI when booting the machine
vb.gui = false vb.gui = false
vb.name = "MacOSCR4" vb.name = "MacOSCR4"
vb.customize ["modifyvm", :id, "--memory", 8192] #vb.customize ["modifyvm", :id, "--memory", 8192]
vb.customize ["modifyvm", :id, "--cpus", 4] vb.customize ["modifyvm", :id, "--memory", 4092]
vb.customize ["modifyvm", :id, "--cpus", 2]
vb.customize ["modifyvm", :id, "--vram", 128] vb.customize ["modifyvm", :id, "--vram", 128]
vb.customize ["modifyvm", :id, "--graphicscontroller","vboxvga"] vb.customize ["modifyvm", :id, "--graphicscontroller","vboxvga"]
vb.customize ["modifyvm", :id, "--nested-hw-virt", "on"] vb.customize ["modifyvm", :id, "--nested-hw-virt", "on"]
......
--- ---
- name: Mac OS R tools - name: Mac OS R tools
hosts: MacOSCatalina hosts: MacOSCatalina
vars:
ansible_python_interpreter: "/usr/bin/python3"
#environment: #environment:
# PATH: "/usr/local/bin:$PATH" # PATH: "/usr/local/bin:$PATH"
tasks: tasks:
...@@ -12,49 +14,26 @@ ...@@ -12,49 +14,26 @@
# reboot: # reboot:
# reboot_timeout: 3600 # reboot_timeout: 3600
## Use copy to avoid ssh timeout or error ## Use copy to avoid ssh timeout or error
- name: copy R install script - name: waiting ssh up
copy: wait_for_connection:
src: files/install-r.sh delay: 15
dest: ~/install-r.sh timeout: 300
mode: u+x
- name: Install R and dependencies - name: Install R and dependencies
script: ./install-r.sh script: files/install-r.sh
async: 2000 - name: waiting ssh up
poll: 30 wait_for_connection:
- name: copy R packages install script delay: 15
copy: timeout: 300
src: files/install-r-library.sh
dest: install-r-library.sh
mode: u+x
- name: Install R packages and dependencies - name: Install R packages and dependencies
script: ./install-r-library.sh script: files/install-r-library.sh
async: 4000 - name: waiting ssh up
poll: 30 wait_for_connection:
- name: copy MaCTeX install script delay: 15
copy: timeout: 300
src: files/install-mactek.sh
dest: install-mactek.sh
mode: u+x
- name: Install MacTex - name: Install MacTex
script: ./install-mactex.sh script: files/install-mactex.sh
async: 1000
poll: 30
- name: copy XQuartz install script
copy:
src: files/install-xquartz.sh
dest: install-xquartz.sh
mode: u+x
- name: Install Xquartz - name: Install Xquartz
script: ./install-xquartz.sh script: files/install-xquartz.sh
async: 1000
poll: 30
- name: copy GitLab Runner install script
copy:
src: files/install-gitlabrunner.sh
dest: install-gitlabrunner.sh
mode: u+x
- name: Install GitLab-Runner - name: Install GitLab-Runner
script: ./install-gitlabrunner.sh script: files/install-gitlabrunner.sh
async: 1000
poll: 30
Markdown is supported
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