mirror of
https://gitea.0xace.cc/ansible-galaxy/postgresql.git
synced 2024-11-25 00:06:42 +00:00
10 lines
272 B
YAML
10 lines
272 B
YAML
- block:
|
|
- name: Restart PostgreSQL
|
|
throttle: 1
|
|
ansible.builtin.systemd:
|
|
state: restarted
|
|
daemon_reload: yes
|
|
name: "postgresql-{{ postgresql_major_version }}"
|
|
when: "not postgresql_setup.changed or not postgresql_enable_and_start.changed"
|
|
|