浏览代码

Add patching for pgadmin superisor conf

Colin Powell 4 年之前
父节点
当前提交
afc99cc230
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      ansible/roles/pgadmin4/tasks/main.yml

+ 6 - 0
ansible/roles/pgadmin4/tasks/main.yml

@@ -13,6 +13,12 @@
 - name: pgAdmin4 package installed
   shell: "pip install https://ftp.postgresql.org/pub/pgadmin/pgadmin4/v4.25/pip/pgadmin4-4.25-py3-none-any.whl"
 
+- name: Supervisor config file patched
+  patch:
+    src: supervisord.conf.patch
+    dest: /usr/local/etc/supervisord.conf
+  notify: Supervisor restarted
+
 - name: pgAdmin4 config file installed
   copy:
     src: config_local.py