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

just a start

parents
# MacOs, R environment and GitLab CI/CD
##
Vagrant.configure("2") do |config|
config.vm.box = "GAEV/MacOS_Catalina"
config.vm.boot_timeout = 1200
config.vm.synced_folder "./", "/Volume/vagrant, disavled: true
# Configure Vagrant to use SSH
config.vm.communicator = "ssh"
# Configure SSH Connectivity
config.ssh.username = "vagrant"
config.ssh.password = "vagrant"
config.vm.provider "virtualbox" do |vb|
# Display the VirtualBox GUI when booting the machine
vb.gui = true
vb.name = "MacOS_C_R4"
vb.customize ["modifyvm", :id, "--memory", 4096]
vb.customize ["modifyvm", :id, "--cpus", 4]
vb.customize ["modifyvm", :id, "--vram", 128]
vb.customize ["modifyvm", :id, "--graphicscontroller","vboxsvga"]
vb.customize ["modifyvm", :id, "--clipboard", "bidirectional"]
vb.customize ["modifyvm", :id, "--nested-hw-virt", "on"]
vb.customize ["setextradata", "global", "GUI/SuppressMessages", "all" ]
end
config.vm.provision "ansible" do |ansible|
ansible.playbook = "ansible_provisioning/playbook.yml"
ansible.inventory_path = "ansible_provisioning/group_vars/inventory.yml"
ansible.verbose = "-vv"
ansible.limit= "macos"
end
end
macos:
hosts:
MacOSCatalina:
ansible_host: 127.0.0.1
vars:
ansible_user: vagrant
ansible_password: vagrant
ansible_port: 22
ansible_connection: ssh
---
- name: Mac OS R tools
hosts: MacOSCatalina
tasks:
- name: ping
ping:
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