fix: remove network proxy from pyKMS
Some checks are pending
Deploy / Prepare Build (push) Waiting to run
Some checks are pending
Deploy / Prepare Build (push) Waiting to run
This commit is contained in:
parent
21ecaa856f
commit
dab2fea58b
10
main.yml
10
main.yml
@ -38,6 +38,11 @@
|
|||||||
|
|
||||||
- hosts: docker
|
- hosts: docker
|
||||||
become: yes
|
become: yes
|
||||||
|
pre_tasks:
|
||||||
|
- name: Connect iscsi
|
||||||
|
import_tasks: tasks/iscsi.yml
|
||||||
|
tags: iscsi_connect
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- role: docker
|
- role: docker
|
||||||
tags: docker_install
|
tags: docker_install
|
||||||
@ -52,10 +57,7 @@
|
|||||||
traefik_host: traefik02.comprofix.xyz
|
traefik_host: traefik02.comprofix.xyz
|
||||||
tags: traefik_install
|
tags: traefik_install
|
||||||
tasks:
|
tasks:
|
||||||
- name: Connect iSCSI
|
|
||||||
import_tasks: tasks/iscsi.yml
|
|
||||||
tags: iscsi_connect
|
|
||||||
|
|
||||||
- name: Deploy comprofix.com website
|
- name: Deploy comprofix.com website
|
||||||
import_tasks: tasks/comprofix.com.yml
|
import_tasks: tasks/comprofix.com.yml
|
||||||
tags: comprofix_install
|
tags: comprofix_install
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
command: iscsiadm -m session
|
command: iscsiadm -m session
|
||||||
register: iscsi_sessions
|
register: iscsi_sessions
|
||||||
changed_when: false
|
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
|
- name: Connect to iSCSI target
|
||||||
command: sudo iscsiadm -m node -T "{{ target_iqn }}" -p "10.10.10.2" --login
|
command: sudo iscsiadm -m node -T "{{ target_iqn }}" -p "10.10.10.2" --login
|
||||||
|
@ -13,8 +13,6 @@
|
|||||||
image: ghcr.io/py-kms-organization/py-kms:latest
|
image: ghcr.io/py-kms-organization/py-kms:latest
|
||||||
restart_policy: unless-stopped
|
restart_policy: unless-stopped
|
||||||
recreate: true
|
recreate: true
|
||||||
networks:
|
|
||||||
- name: proxy_network
|
|
||||||
ports:
|
ports:
|
||||||
- "1688:1688"
|
- "1688:1688"
|
||||||
env:
|
env:
|
||||||
|
Loading…
Reference in New Issue
Block a user