Skip to content

imcitius/ansible-wal-g-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This role configures wal-g and puts scripts for Backup/Restore

Requirements

none

Role Variables

# default path to put scripts to
walg_script_path: /var/lib/pgsql/bin

# default S3 bucket name
walg_bucket: "wal-g"

# default S3 bucket path prefix (folder)
walg_prefix: "backup"

# how much full backups to retain in the storage
postgresql_backups_retain: 14

# User PostgreSQL runs under
postgresql_admin_user: postgres

# Default admin db
postgresql_admin_db: postgres

# S3 credentials
s3cmd_secret_key: ""
s3cmd_access_key: ""

Dependencies

none

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:

- hosts: servers
  roles:
     - { role: imcitius.ansible_wal_g_config }

License

GPLv2

Author Information

Ilya Rubinchik (aka Citius)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published