--- - name: Package cache updated shell: pkg update -f - name: Dependencies installed pkgng: name: "py37-pip py37-sqlite3 py37-supervisor postgresql12-client" state: present - name: Supervisor enabled shell: sysrc supervisord_enable="YES" - name: pgAdmin4 package installed shell: "pip install https://ftp.postgresql.org/pub/pgadmin/pgadmin4/v4.29/pip/pgadmin4-4.29-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 dest: /usr/local/lib/python3.7/site-packages/pgadmin4/ owner: root mode: 0644 notify: Supervisor restarted - name: pgAdmin4 supervisor file installed copy: src: pgadmin-supervisor.conf dest: /usr/local/etc/supervisor/conf.d/ owner: root mode: 0644 notify: Supervisor restarted