Skip to content

EDS-Bioinformatics-Laboratory/ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible

Repository for installation of frequently used software on empty virtual machines.

Developed by:

Requirements

The Ansible script assumes a virtual machine running Ubuntu. It might also work on Debian.

Manual steps

Install Ansible and Git

sudo apt update
sudo apt install software-properties-common
sudo add-apt-repository --yes --update ppa:ansible/ansible # this line might give an error that you can ignore
sudo apt install ansible git

Clone this repository

git clone https://github.com/EDS-Bioinformatics-Laboratory/ansible.git

Configure general-VM.yml en config.yml: change the username to your own username (at top of the scripts)

Installation with Ansible

Run a sudo command before you run ansible, otherwise the script can't do operations as root

sudo ls

Install software

ansible-playbook -i hosts -v general-VM.yml

Disconnect from the VM and start a new session, this will:

  • Activate conda by sourcing the bashrc
  • Enable visual output via X11 (e.g. for VScode)

VScode can run from the commandline: code &

Software installation

  • python
  • conda
  • VScode
  • Apptainer (Singularity)
  • R, renv

To implement

  • common libraries via renv
  • common python packages via conda environment

About

Barbera van Schaik, public repo for installation scripts virtual machines

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published