Permission denied: '/etc/.ansible_tmp4jZR1Denvironment'

18 views
Skip to first unread message

Hakim KHANCHOUCH

unread,
Nov 5, 2019, 11:20:03 AM11/5/19
to Packer
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.

Rickard von Essen

unread,
Nov 6, 2019, 8:36:41 AM11/6/19
to packe...@googlegroups.com
Are you running Packer as root? 

--
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 packer-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/24725672-5c76-446f-b5eb-b95fca4df62d%40googlegroups.com.

Hakim KHANCHOUCH

unread,
Nov 6, 2019, 11:53:24 AM11/6/19
to Packer
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 <hakim-exter...@dalkia.fr> 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 packe...@googlegroups.com.

Rickard von Essen

unread,
Nov 6, 2019, 2:28:43 PM11/6/19
to packe...@googlegroups.com

To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/2bd1eaef-7d68-4b7f-8247-08bb2e678426%40googlegroups.com.

Hakim KHANCHOUCH

unread,
Nov 7, 2019, 12:43:16 PM11/7/19
to Packer
it's working, thanks


Le mercredi 6 novembre 2019 20:28:43 UTC+1, Rickard von Essen a écrit :
Reply all
Reply to author
Forward
0 new messages