From 03c07f8d89adf7282f0da25e2342b9749ca1e5cc Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Fri, 23 Dec 2022 12:44:51 +0100 Subject: pdb --- ansible/plays/wal-g.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 ansible/plays/wal-g.yml (limited to 'ansible/plays') 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 -- cgit v1.2.3