I am using Ansible 1.9 and Packer to create and install new package on a Debian VM.
Packer run my playbook, but the installation of the package fail because I am not root. Can anyone give me an example of a playbook which install a package on a Debian ? (With of course the possibility to be root in order to run apt-get install) My actual playbook (which is not ok) is the following (I install fortune for a basic example) hosts: all user: root tasks: apt: name=fortune state=installed Thanks for any help -- 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/8bc4595c-1cb5-4082-b500-18ab47d257bb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
