docker registry @ ring86
This commit is contained in:
@@ -28,28 +28,28 @@
|
||||
dest: /etc/containers/storage.conf
|
||||
src: storage.conf
|
||||
|
||||
- name: Configure cr.wks registry
|
||||
- name: Configure cr.chaos registry
|
||||
copy:
|
||||
dest: /etc/containers/registries.conf.d/cr.chaos.conf
|
||||
src: cr.wks.conf
|
||||
src: cr.chaos.conf
|
||||
|
||||
#- name: Configure docker-mirror registry
|
||||
# copy:
|
||||
# dest: /etc/containers/registries.conf.d/dr-mirror.wks.conf
|
||||
# src: dr-mirror.wks.conf
|
||||
|
||||
- name: Remote NFS volumes
|
||||
block:
|
||||
- name: Create mount Point
|
||||
file:
|
||||
path: /var/lib/containers/storage/volumes
|
||||
state: directory
|
||||
owner: root
|
||||
group: root
|
||||
- name: Mount containers from NFS
|
||||
ansible.posix.mount:
|
||||
src: ebin01.wks:/data/raid1-ssd/node-data/{{ ansible_nodename }}-podman-volumes
|
||||
path: /var/lib/containers/storage/volumes
|
||||
opts: auto,_netdev,defaults,x-systemd.wanted-by=podman.service,x-systemd.wanted-by=nomad.service
|
||||
state: mounted
|
||||
fstype: nfs
|
||||
#- name: Remote NFS volumes
|
||||
# block:
|
||||
# - name: Create mount Point
|
||||
# file:
|
||||
# path: /var/lib/containers/storage/volumes
|
||||
# state: directory
|
||||
# owner: root
|
||||
# group: root
|
||||
# - name: Mount containers from NFS
|
||||
# ansible.posix.mount:
|
||||
# src: ebin01.wks:/data/raid1-ssd/node-data/{{ ansible_nodename }}-podman-volumes
|
||||
# path: /var/lib/containers/storage/volumes
|
||||
# opts: auto,_netdev,defaults,x-systemd.wanted-by=podman.service,x-systemd.wanted-by=nomad.service
|
||||
# state: mounted
|
||||
# fstype: nfs
|
||||
@@ -1,9 +1,9 @@
|
||||
- hosts: all
|
||||
gather_facts: true
|
||||
|
||||
roles:
|
||||
- role: common
|
||||
tags: common
|
||||
|
||||
- hosts: auto02.chaos
|
||||
roles:
|
||||
- role: podman
|
||||
|
||||
@@ -43,7 +43,7 @@ job "dmarc" {
|
||||
REPORT_DB_TYPE = "pgsql"
|
||||
REPORT_DB_HOST = "postgres.service.nr5"
|
||||
REPORT_DB_PORT = "5432"
|
||||
REPORT_DB_NAME = "dmarc-srg"
|
||||
REPORT_DB_NAME = "dmarc"
|
||||
REPORT_DB_USER = "dmarc"
|
||||
REPORT_DB_PASS = "4XSS4gKpheSBoMsIs"
|
||||
PARSER_IMAP_PORT = "143"
|
||||
|
||||
Reference in New Issue
Block a user