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