Skip to content

ewerton-silva00/ansible-velero

Repository files navigation

Velero Disaster Recovery - Ansible Role

This project is a Ansible Role to deployment the velero on Kubernetes.

Requirements

How to use

Clone this repository.

git clone https://github.com/ewerton-silva00/ansible-velero

Initialize a Virtual Environment.

python3 -m venv ansible-velero

Activate the virtual environment.

source ansible-velero/bin/activate

Access the ansible-velero directory and install dependencies.

cd ansible-velero
sudo pip3 install -r requirements.txt

Make sure that accessing the Kubernetes cluster via kubectl is OK.

kubectl cluster-info

Execute the Velero Role.

ansible-playbook \
  --inventory inventories/hosts.yml \
  velero.yml

Note: if the variable velero_binary_install is true you need to pass --ask-pass and --ask-become-pass, because require sudo privilege.

About

Ansible Role for Velero Deployment on Kubernetes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published