I should mention that I can do
command: overlayroot-chroot apt-get install {{ package }}However I would like to use Ansible's apt: On Friday, 20 October 2017 13:44:24 UTC+8, Sam Thomas wrote: > > 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. > > > > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/e9fd9494-65a3-45b7-8130-3acd2abc8bcb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
