docker registry @ ring86

This commit is contained in:
2025-11-17 13:33:47 +01:00
parent fa9e4b6a45
commit de85077324
2 changed files with 18 additions and 18 deletions

View File

@@ -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

View File

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