mirror of
https://github.com/2martens/cloud-configuration.git
synced 2026-10-17 08:37:56 +02:00
fix: Reread supervisorctl services
This commit is contained in:
@@ -6,6 +6,11 @@
|
||||
owner: "{{ ssh_user }}"
|
||||
group: "{{ ssh_user }}"
|
||||
mode: "644"
|
||||
register: postgresql_service
|
||||
- name: Reread service config
|
||||
ansible.builtin.command:
|
||||
cmd: supervisorctl reread
|
||||
when: postgresql_service.changed
|
||||
- name: Start postgresql
|
||||
community.general.supervisorctl:
|
||||
state: started
|
||||
|
||||
Reference in New Issue
Block a user