diff --git a/playbooks/_helpers/create_vm_or_lxc.yml b/playbooks/_helpers/create_vm_or_lxc.yml index 9d094ee..46acecf 100644 --- a/playbooks/_helpers/create_vm_or_lxc.yml +++ b/playbooks/_helpers/create_vm_or_lxc.yml @@ -94,7 +94,7 @@ # 3. Магия: Тюнинг конфига LXC для Docker (AppArmor и cgroups) - name: Inject Docker-specific tweaks into LXC config ansible.builtin.blockinfile: - path: "/etc/pve/lxc/{{ allocated_id }}.conf" + path: "/etc/pve//nodes/{{ target_node }}/lxc/{{ allocated_id }}.conf" marker: "# {mark} ANSIBLE MANAGED DOCKER TWEAKS" block: | lxc.apparmor.profile: unconfined