Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/luckylittle/ocp46_etcd_backup
Ansible role to perform OpenShift 4.6 ETCD backup
https://github.com/luckylittle/ocp46_etcd_backup
backup etcd ocp4 openshift openshift46
Last synced: 10 days ago
JSON representation
Ansible role to perform OpenShift 4.6 ETCD backup
- Host: GitHub
- URL: https://github.com/luckylittle/ocp46_etcd_backup
- Owner: luckylittle
- License: mit
- Created: 2020-12-15T22:11:08.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-10-12T06:50:10.000Z (over 2 years ago)
- Last Synced: 2024-11-11T21:28:51.080Z (2 months ago)
- Topics: backup, etcd, ocp4, openshift, openshift46
- Homepage: https://redhat.com
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
ocp46_etcd_backup
=========OCP ETCD Backup role performs a ETCD cluster data backup in an OpenShift 4.6 environment.
Role Variables
--------------As is generally known, Ansible variables could be defined in different files. The following subsections include default variables and required variables which have to be defined in order to perform an ETCD cluster data backup.
### Required Vars
The following required variables have to be defined when role is triggered.
|Variable|Comment|Type|
|---|---|---|
|`backup_dst_path`|Destination ETCD backup folder path in client instance where the backup will be stored|String|Example Playbook
----------------Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
```yaml
##
# Example:
# $ ansible-playbook -i inventory ocp46-backup-etcd.yml
# $ ansible-playbook -i inventory ocp46-backup-etcd.yml --extra-vars="backup_dst_path=/tmp"
##- hosts: masters
gather_facts: false
environment:
http_proxy: "{{ http_proxy }}"
https_proxy: "{{ https_proxy }}"
tasks:
- name: Perform ETCD 4.6 Backup
import_role:
name: ocp46_etcd_backup
vars:
backup_dst_path: "~/Downloads"
run_once: true
```License
-------MIT
Author Information
------------------- Lucian Maly [@Red Hat](https://github.com/redhatofficial)