diff --git a/roles/role_deploy_store-metrics-in-db/tasks/main.yml b/roles/role_deploy_store-metrics-in-db/tasks/main.yml index 71e2780..0b99014 100644 --- a/roles/role_deploy_store-metrics-in-db/tasks/main.yml +++ b/roles/role_deploy_store-metrics-in-db/tasks/main.yml @@ -52,24 +52,13 @@ failed_when: false become: true -- name: Create podman networks - containers.podman.podman_network: - name: "{{ item }}" - become: true - with_items: - - metricsnet - - name: Create store-metrics-in-db container containers.podman.podman_container: name: store-metrics-in-db image: "{{ private_registry_domain }}/store-metrics-in-db:22e20028fc" state: present network: - - mysqlnet - - metricsnet - ports: - - "127.0.0.1:3001:3001/tcp" - dns_search: "{{ SHORTNAME }}-sub.{{ DOMAIN }}" + - host env: FLASK_APP: api.py #FLASK_ENV: development