fix: remove network proxy from pyKMS
Some checks are pending
Deploy / Prepare Build (push) Waiting to run

This commit is contained in:
Matthew McKinnon 2024-11-01 00:06:33 +10:00
parent 21ecaa856f
commit dab2fea58b
3 changed files with 7 additions and 6 deletions

View File

@ -38,6 +38,11 @@
- hosts: docker
become: yes
pre_tasks:
- name: Connect iscsi
import_tasks: tasks/iscsi.yml
tags: iscsi_connect
roles:
- role: docker
tags: docker_install
@ -52,10 +57,7 @@
traefik_host: traefik02.comprofix.xyz
tags: traefik_install
tasks:
- name: Connect iSCSI
import_tasks: tasks/iscsi.yml
tags: iscsi_connect
- name: Deploy comprofix.com website
import_tasks: tasks/comprofix.com.yml
tags: comprofix_install

View File

@ -23,6 +23,7 @@
command: iscsiadm -m session
register: iscsi_sessions
changed_when: false
failed_when: iscsi_sessions.rc not in [0, 21] # Allow success if the return code is 0 or 21
- name: Connect to iSCSI target
command: sudo iscsiadm -m node -T "{{ target_iqn }}" -p "10.10.10.2" --login

View File

@ -13,8 +13,6 @@
image: ghcr.io/py-kms-organization/py-kms:latest
restart_policy: unless-stopped
recreate: true
networks:
- name: proxy_network
ports:
- "1688:1688"
env: