diff --git a/tasks/lxc_container_create_machinectl.yml b/tasks/lxc_container_create_machinectl.yml index f671d9a..1d0a585 100644 --- a/tasks/lxc_container_create_machinectl.yml +++ b/tasks/lxc_container_create_machinectl.yml @@ -33,6 +33,7 @@ - name: Set the qgroup size|compression limits on machines command: "btrfs qgroup limit {{ item }} /var/lib/machines/{{ inventory_hostname }}" changed_when: false + delegate_to: "{{ physical_host }}" with_items: - "-e {{ lxc_host_machine_qgroup_space_limit }}" - "-c {{ lxc_host_machine_qgroup_compression_limit }}"