it's working, thanks Le mercredi 6 novembre 2019 20:28:43 UTC+1, Rickard von Essen a écrit : > > Try running it as a normal user. > > https://packer.io/docs/provisioners/ansible.html#become-yes > > On Wed, Nov 6, 2019, 17:53 Hakim KHANCHOUCH <[email protected] > <javascript:>> wrote: > >> yes >> >> Le mercredi 6 novembre 2019 14:36:41 UTC+1, Rickard von Essen a écrit : >>> >>> Are you running Packer as root? >>> >>> On Tue, Nov 5, 2019, 17:20 Hakim KHANCHOUCH <[email protected]> >>> wrote: >>> >>>> Hello, >>>> >>>> I'm using packet to create an AMI and ansible to setup the instance. >>>> but running the packer script, i got this message [Errno 13] Permission >>>> denied: '/etc/.ansible_tmp4jZR1Denvironment'"} >>>> PS: I'm using become: yes in my playbook file. >>>> >>>> Could you please help ? >>>> >>>> Thanks. >>>> >>>> -- >>>> This mailing list is governed under the HashiCorp Community Guidelines >>>> - https://www.hashicorp.com/community-guidelines.html. Behavior in >>>> violation of those guidelines may result in your removal from this mailing >>>> list. >>>> >>>> GitHub Issues: https://github.com/mitchellh/packer/issues >>>> IRC: #packer-tool on Freenode >>>> --- >>>> You received this message because you are subscribed to the Google >>>> Groups "Packer" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/packer-tool/24725672-5c76-446f-b5eb-b95fca4df62d%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/packer-tool/24725672-5c76-446f-b5eb-b95fca4df62d%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> -- >> This mailing list is governed under the HashiCorp Community Guidelines - >> https://www.hashicorp.com/community-guidelines.html. Behavior in >> violation of those guidelines may result in your removal from this mailing >> list. >> >> GitHub Issues: https://github.com/mitchellh/packer/issues >> IRC: #packer-tool on Freenode >> --- >> You received this message because you are subscribed to the Google Groups >> "Packer" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/packer-tool/2bd1eaef-7d68-4b7f-8247-08bb2e678426%40googlegroups.com >> >> <https://groups.google.com/d/msgid/packer-tool/2bd1eaef-7d68-4b7f-8247-08bb2e678426%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >
-- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/packer/issues IRC: #packer-tool on Freenode --- You received this message because you are subscribed to the Google Groups "Packer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/4155d90c-f52e-4a36-9f71-93a14af17fa6%40googlegroups.com.
