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

update format files

parent 7dd64c55
Pipeline #2521 failed with stages
in 26 minutes and 47 seconds
...@@ -12,6 +12,7 @@ Gen-VM: ...@@ -12,6 +12,7 @@ Gen-VM:
script: script:
- vboxmanage controlvm MacOSCR4 poweroff || true - vboxmanage controlvm MacOSCR4 poweroff || true
- vboxmanage unregistervm --delete MacOSCR4 || true - vboxmanage unregistervm --delete MacOSCR4 || true
- vagrant destroy -f
- vagrant box update - vagrant box update
#- vagrant up > vagrantup.log #- vagrant up > vagrantup.log
- vagrant up - vagrant up
......
Vagrant.configure("2") do |config| Vagrant.configure("2") do |config|
config.vm.box = "GAEV/MacOS_Catalina" config.vm.box = "GAEV/MacOS_Catalina"
config.vm.boot_timeout = 1800 config.vm.boot_timeout = 1800
config.vm.synced_folder ".", "/vagrant", disabled: true config.vm.synced_folder ".", "/vagrant", disabled: true
# Configure Vagrant to use SSH # Configure Vagrant to use SSH
config.vm.communicator = "ssh" config.vm.communicator = "ssh"
# Configure SSH Connectivity # Configure SSH Connectivity
config.ssh.username = "vagrant" config.ssh.username = "vagrant"
config.ssh.password = "vagrant" config.ssh.password = "vagrant"
config.ssh.export_command_template = 'export PATH=/usr/local/bin:$PATH' config.ssh.export_command_template = 'export PATH=/usr/local/bin:$PATH'
config.vm.provider "virtualbox" do |vb| config.vm.provider "virtualbox" do |vb|
# 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, "--cpus", 4]
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"]
vb.customize ["setextradata", "global", "GUI/SuppressMessages", "all" ] vb.customize ["setextradata", "global", "GUI/SuppressMessages", "all" ]
end end
config.vm.provision "ansible" do |ansible| config.vm.provision "ansible" do |ansible|
ansible.playbook = "ansible_provisioning/playbook.yml" ansible.playbook = "ansible_provisioning/playbook.yml"
ansible.inventory_path = "ansible_provisioning/group_vars/inventory.yml" ansible.inventory_path = "ansible_provisioning/group_vars/inventory.yml"
ansible.verbose = "-vv" ansible.verbose = "-vv"
ansible.limit= "macos" ansible.limit= "macos"
end end
end end
macos: macos:
hosts: hosts:
MacOSCatalina: MacOSCatalina:
ansible_host: 127.0.0.1 ansible_host: 127.0.0.1
vars: vars:
ansible_user: vagrant ansible_user: vagrant
......
...@@ -6,11 +6,11 @@ ...@@ -6,11 +6,11 @@
tasks: tasks:
- name: ping - name: ping
ping: ping:
#- name: Update MacOS #- name: Update MacOS
# script: files/update-macos.sh # script: files/update-macos.sh
#- name: reboot after update #- name: reboot after update
# reboot: # reboot:
# reboot_timeout: 3600 # reboot_timeout: 3600
- name: Install R and dependencies - name: Install R and dependencies
script: files/install-r.sh script: files/install-r.sh
- name: Install R packages and dependencies - name: Install R packages and dependencies
......
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