Debian 12 deploy fixes
This commit is contained in:
parent
7e6021d2ab
commit
9fe284294a
@ -38,8 +38,6 @@ system_base_unattended_upgrades_blacklist:
|
||||
# --------------------------------------------------------------------------------------------------
|
||||
# system:var
|
||||
# --------------------------------------------------------------------------------------------------
|
||||
system_var_root_directory: "/var/lib/yggdrasil"
|
||||
|
||||
system_var_root_dataset: "rpool{{ system_var_root_directory }}"
|
||||
system_var_data_dataset: "rpool{{ system_var_data_directory }}"
|
||||
system_var_containers_dataset: "rpool{{ system_var_containers_directory }}"
|
||||
|
@ -0,0 +1,7 @@
|
||||
[storage]
|
||||
graphroot="/var/lib/containers/storage"
|
||||
runroot="/var/run/containers/storage"
|
||||
driver = "overlay"
|
||||
|
||||
[storage.options]
|
||||
mount_program = "/usr/bin/fuse-overlayfs"
|
@ -11,3 +11,6 @@ argument_specs:
|
||||
services_containers_directory:
|
||||
type: "str"
|
||||
required: true
|
||||
services_setup_system_containers_storage_fuse_overlay:
|
||||
type: "bool"
|
||||
required: true
|
||||
|
@ -8,3 +8,19 @@
|
||||
ansible.builtin.reboot:
|
||||
when:
|
||||
services_setup_system_podman_install.changed
|
||||
|
||||
- block:
|
||||
- name: "podman : configure podman storage"
|
||||
ansible.builtin.copy:
|
||||
src: "./podman/storage.conf"
|
||||
dest: "/etc/containers/storage.conf"
|
||||
mode: 0644
|
||||
register: services_setup_system_containers_storage
|
||||
|
||||
- name: "podman : reset podman"
|
||||
ansible.builtin.shell: "yes | podman system reset"
|
||||
when:
|
||||
services_setup_system_containers_storage.changed
|
||||
|
||||
when:
|
||||
services_setup_system_containers_storage_fuse_overlay
|
||||
|
@ -33,6 +33,8 @@
|
||||
tags:
|
||||
- "services:setup"
|
||||
- "services:setup:system"
|
||||
vars:
|
||||
services_setup_system_containers_storage_fuse_overlay: "{{ 'zfs' in group_names }}"
|
||||
|
||||
tasks:
|
||||
- name: "setup : user"
|
||||
|
2
roles
2
roles
@ -1 +1 @@
|
||||
Subproject commit cf0aaef4eeb0d3fe4d8cfe939dc6955b24990329
|
||||
Subproject commit 9b57350d92f221571d6a075f3e7e403c33e436ad
|
Loading…
Reference in New Issue
Block a user