diff options
Diffstat (limited to 'ansible/plays')
-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 |