Skip to content
Snippets Groups Projects
Select Git revision
  • 2714e40fd1826d394271657736d07bcd698435b5
  • main default protected
  • rosification
  • refactoring
  • pp
  • mpc
  • realtimelogplotter
  • alv
  • gitlab_ci_podman
  • restructuring
  • viz_fix
11 results

python

  • Clone with SSH
  • Clone with HTTPS
  • Prerequisites

    • Login to Xerces using for example the cloud.yml or OpenStack RC file.
    • ansible (tested with v 3.6.9)
    • terraform (tested with v 0.12.8)

    Instructions

    • Update the values in the cluster.tfvars
    • Setup the cluster by running the following. Note the public floating IP assigned
    terraform init
    terraform  apply -var-file=cluster.tfvars
    • Add the SSH key to your ssh-agent by running
    eval $(ssh-agent -s)
    ssh-add /path/to/your/private/key
    • Run ansible-playbook -i inventory/hosts setup_instance.yml in the ansible folder.

    You can now ssh into your machine using ssh ubuntu@your-floating-ip.

    Remove the terraform instance

    • Simply run terraform destroy