Skip to content

Commit 5c2e1e9

Browse files
author
Alan Christie
committed
feat: Dump now checks pg_dump version against DB
1 parent c6fa437 commit 5c2e1e9

File tree

8 files changed

+198
-155
lines changed

8 files changed

+198
-155
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
venv/
22
parameters.*.yaml
33
.vscode/
4+
site-parameter-files/

.pre-commit-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ repos:
4242
rev: v6.16.1
4343
hooks:
4444
- id: ansible-lint
45+
args:
46+
- --nocolor
4547
additional_dependencies:
4648
- ansible==7.5.0
4749
- ansible-core>=2.14.5

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@ which is protected from git with our `.gitignore` file: -
4949

5050
ansible-playbook site-k8s-database-dump.yaml -e @parameters.yaml
5151

52+
> Parameter files that you want to preserve should be put int the `site-parameter-files`
53+
directory, which is monitored by git. If there are sensitive values in the files,
54+
remember to encrypt the file with [Ansible Vault], and **ALWAYS** use the
55+
extension `.vault`.
56+
5257
## Contributing
5358
The project uses: -
5459

@@ -72,6 +77,7 @@ current health of your clone with: -
7277
---
7378

7479
[ansible galaxy]: https://galaxy.ansible.com/
80+
[ansible vault]: https://docs.ansible.com/ansible/latest/vault_guide/index.html
7581
[commitizen]: https://commitizen-tools.github.io/commitizen/
7682
[conventional commit]: https://www.conventionalcommits.org/en/v1.0.0/
7783
[pre-commit]: https://pre-commit.com/

0 commit comments

Comments
 (0)