diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2022-12-23 12:44:51 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2022-12-23 12:44:51 +0100 |
commit | 03c07f8d89adf7282f0da25e2342b9749ca1e5cc (patch) | |
tree | b5ca2b7e524a5c1862e0bd8dbf311dd1b4681671 | |
parent | b867c5dc0097b09a75705d616cc10f65c3d60ffb (diff) | |
download | infra-03c07f8d89adf7282f0da25e2342b9749ca1e5cc.tar.gz infra-03c07f8d89adf7282f0da25e2342b9749ca1e5cc.tar.bz2 infra-03c07f8d89adf7282f0da25e2342b9749ca1e5cc.tar.xz infra-03c07f8d89adf7282f0da25e2342b9749ca1e5cc.zip |
pdb
-rw-r--r-- | ansible/plays/wal-g.yml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ansible/plays/wal-g.yml b/ansible/plays/wal-g.yml new file mode 100644 index 0000000..5f47606 --- /dev/null +++ b/ansible/plays/wal-g.yml @@ -0,0 +1,15 @@ +- hosts: + - knot + vars: + url: https://github.com/wal-g/wal-g/releases/download/v2.0.1/wal-g-pg-ubuntu-18.04-amd64 + checksum: 5d17f2fa8915ad2ce2f460a119cf652e735b85a2333e9843a4c7fd56ae074f4a + tasks: + - name: Installing wal-g as /var/lib/postgresql/wal-g + become: yes + ansible.builtin.get_url: + url: "{{ url }}" + checksum: "sha256:{{ checksum }}" + dest: "/var/lib/postgresql/wal-g" + mode: a+rx + owner: root + group: root |