Skip to content

volpe-framework/volpe-ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

VolPE Deployment

This setup automates the deployment of VolPE across multiple machines using Ansible. It handles installing Podman, configuring workers, and starting the gRPC services.

Prerequisites

pip install ansible
git clone <your-repo-url>
cd volpe-ansible

1. Configure Inventory

Open inventory.yml and update it with your node details.

Example Configuration:

all:
  vars:
    ansible_user: ubuntu
    ansible_ssh_private_key_file: ~/.ssh/id_rsa

master-node:
  ansible_host: 192.168.1.10

worker-1:
  ansible_host: 192.168.1.11
  worker_id: w1
  worker_memory_gb: 4.0
  worker_cpu_count: 4

worker-2:
  ansible_host: 192.168.1.12
  worker_id: w2
  worker_memory_gb: 2.0
  worker_cpu_count: 2

2. Verify SSH Access

Ansible requires passwordless SSH access to all nodes. Test your connection:

ssh user@<node-ip>

To set up keys:

ssh-keygen
ssh-copy-id user@<node-ip>

Deployment

Dry Run

ansible-playbook -i inventory.yml site.yml --check

Run Deployment

ansible-playbook -i inventory.yml site.yml

Verification

Check if the services are up:

  • UI / Static Page: http://<master-ip>:8000/static
  • Worker Check:
curl http://<master-ip>:8000/workerCount

Cleanup

To stop and remove everything:

ansible-playbook -i inventory.yml site.yml --tags teardown

About

automating deployment with ansible

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors