diff --git a/roles/postgresql/tasks/install.yml b/roles/postgresql/tasks/install.yml index b44ddc3e0..b94e38dac 100644 --- a/roles/postgresql/tasks/install.yml +++ b/roles/postgresql/tasks/install.yml @@ -84,6 +84,7 @@ - name: Disable & Stop stock 'postgresql@' systemd service, for real Debian 10+ systemd: name: postgresql@ + state: stopped enabled: no when: is_debian and not is_raspbian # Especially for Debian 10, 11 & higher