Ubuntu overlayroot

Hi everyone,

I am using Ubuntu’s overlayroot to protect the filesystem from power loss events on several remote systems.
https://packages.ubuntu.com/trusty/admin/overlayroot

Usually I would use the command overlayroot-chroot to enter a chroot environment to install additional software permanently on the device.
Has anybody found a method to do this with ansible?

I have tired both
command: overlayroot-chroot
and
shell: overlayroot-chroot

Prior to an apt: with no luck.

Appreciate any guidance.

I should mention that I can do
command: overlayroot-chroot apt-get install {{ package }}

However I would like to use Ansible’s apt: