Add missing "delegate_to"

All of the qgroup commands were failing due to them being executed
inside the container instead of on the host running the container. this
change adds the forgotten delegate_to to correct that.

Change-Id: I0ff97d42fb20065613af24c65f523793a3b58fae
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
Kevin Carter 2018-05-18 08:34:17 -05:00
parent 25478e9b4e
commit 3b1b5a34bf
No known key found for this signature in database
GPG Key ID: 9443251A787B9FB3
1 changed files with 1 additions and 0 deletions

View File

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