docker registry @ ring86

This commit is contained in:
2025-11-17 13:33:47 +01:00
parent bf7e62ee1d
commit 749a2a7d12
3 changed files with 19 additions and 19 deletions

View File

@@ -28,28 +28,28 @@
dest: /etc/containers/storage.conf dest: /etc/containers/storage.conf
src: storage.conf src: storage.conf
- name: Configure cr.wks registry - name: Configure cr.chaos registry
copy: copy:
dest: /etc/containers/registries.conf.d/cr.chaos.conf dest: /etc/containers/registries.conf.d/cr.chaos.conf
src: cr.wks.conf src: cr.chaos.conf
#- name: Configure docker-mirror registry #- name: Configure docker-mirror registry
# copy: # copy:
# dest: /etc/containers/registries.conf.d/dr-mirror.wks.conf # dest: /etc/containers/registries.conf.d/dr-mirror.wks.conf
# src: dr-mirror.wks.conf # src: dr-mirror.wks.conf
- name: Remote NFS volumes #- name: Remote NFS volumes
block: # block:
- name: Create mount Point # - name: Create mount Point
file: # file:
path: /var/lib/containers/storage/volumes # path: /var/lib/containers/storage/volumes
state: directory # state: directory
owner: root # owner: root
group: root # group: root
- name: Mount containers from NFS # - name: Mount containers from NFS
ansible.posix.mount: # ansible.posix.mount:
src: ebin01.wks:/data/raid1-ssd/node-data/{{ ansible_nodename }}-podman-volumes # src: ebin01.wks:/data/raid1-ssd/node-data/{{ ansible_nodename }}-podman-volumes
path: /var/lib/containers/storage/volumes # path: /var/lib/containers/storage/volumes
opts: auto,_netdev,defaults,x-systemd.wanted-by=podman.service,x-systemd.wanted-by=nomad.service # opts: auto,_netdev,defaults,x-systemd.wanted-by=podman.service,x-systemd.wanted-by=nomad.service
state: mounted # state: mounted
fstype: nfs # fstype: nfs

View File

@@ -1,9 +1,9 @@
- hosts: all - hosts: all
gather_facts: true gather_facts: true
roles: roles:
- role: common - role: common
tags: common tags: common
- hosts: auto02.chaos - hosts: auto02.chaos
roles: roles:
- role: podman - role: podman

View File

@@ -43,7 +43,7 @@ job "dmarc" {
REPORT_DB_TYPE = "pgsql" REPORT_DB_TYPE = "pgsql"
REPORT_DB_HOST = "postgres.service.nr5" REPORT_DB_HOST = "postgres.service.nr5"
REPORT_DB_PORT = "5432" REPORT_DB_PORT = "5432"
REPORT_DB_NAME = "dmarc-srg" REPORT_DB_NAME = "dmarc"
REPORT_DB_USER = "dmarc" REPORT_DB_USER = "dmarc"
REPORT_DB_PASS = "4XSS4gKpheSBoMsIs" REPORT_DB_PASS = "4XSS4gKpheSBoMsIs"
PARSER_IMAP_PORT = "143" PARSER_IMAP_PORT = "143"