setup-pvenode fixes

This commit is contained in:
tolerryan
2025-01-21 10:24:45 -06:00
parent 92f4d2de27
commit 83fff760db

View File

@@ -25,6 +25,10 @@
block: |
lxc.idmap: u 0 100000 1000
lxc.idmap: g 0 100000 1000
lxc.idmap: g 44 44 1
lxc.idmap: g 104 104 1
lxc.idmap: g 45 100045 57
lxc.idmap: g 104 100045 61
marker: "#{' ' * line_length}# ANSIBLE MANAGED BLOCK"
- name: Add mount entry for /dev/net
@@ -45,14 +49,6 @@
regexp: '^lxc\.cgroup2\.devices\.allow:'
line: "lxc.mount.entry: /dev/dri dev/dri none bind,optional,create=dir"
- name: Add remaining idmap configurations
blockinfile:
path: "{{ config_file }}"
block: |
lxc.idmap: u 1000 1000 64536
lxc.idmap: g 1000 1000 64536
marker: "#{' ' * line_length}# ANSIBLE MANAGED BLOCK"
- name: Start LXC container 218
shell: "pct start 218"
register: start_result