Set lxc_container_backing_store fact on containers

Set the lxc_container_backing_store fact on each container rather than
the physical hosts. This helps ensure forward compatibility with Ansible
2, where this fact is currently being ignored when creating containers.

Change-Id: Ib73dfccb86147706bf434e8ac214dd94092028cf
Closes-Bug: #1519053
This commit is contained in:
Jimmy McCrory 2015-12-11 13:26:26 -08:00
parent 37a1f4cd16
commit f59aa7b807

View File

@ -26,7 +26,6 @@
set_fact:
lxc_container_backing_store: dir
when: vg_result.rc != 0
delegate_to: "{{ physical_host }}"
tags:
- lxc-container-vg-detect