fix: Use builtin command module

This commit is contained in:
2025-10-20 20:14:19 +02:00
parent 5277faff0a
commit 29a3a2b8ad
3 changed files with 4 additions and 15 deletions
+1 -5
View File
@@ -9,9 +9,5 @@
register: postgresql_service
- name: Reread service config
ansible.builtin.command:
cmd: supervisorctl reread
cmd: supervisorctl reread && supervisorctl update
when: postgresql_service.changed
- name: Start postgresql
community.general.supervisorctl:
state: started
name: postgresql