File: server.yml

package info (click to toggle)
check-pgbackrest 2.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,396 kB
  • sloc: perl: 972; sh: 488; python: 145; makefile: 33
file content (17 lines) | stat: -rw-r--r-- 459 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---
- include_tasks: create_user.yml

- name: Build configuration file {{ pgbackrest_configuration_file }}
  template:
    src: "pgbackrest-repository.conf.j2"
    dest: "{{ pgbackrest_configuration_file }}"
    owner: "{{ pgbackrest_user }}"
    group: "{{ pgbackrest_user }}"
    mode: 0640
  become: yes
  register: pgbackrest_config

- name: Record if a new backup is needed
  set_fact:
    pgbackrest_force_backup: true
  when: pgbackrest_config.changed