mirror of
https://github.com/2martens/cloud-configuration.git
synced 2026-10-17 16:46:51 +02:00
fix: Use builtin command module
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user