Re: [packer] Permission denied: '/etc/.ansible_tmp4jZR1Denvironment'

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

>>> -- 
>> 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 .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/packer-tool/2bd1eaef-7d68-4b7f-8247-08bb2e678426%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/4155d90c-f52e-4a36-9f71-93a14af17fa6%40googlegroups.com.


Re: [packer] Permission denied: '/etc/.ansible_tmp4jZR1Denvironment'

2019-11-06 Thread Rickard von Essen
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 <
hakim-externe.khancho...@dalkia.fr> 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 
>> 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.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/packer-tool/24725672-5c76-446f-b5eb-b95fca4df62d%40googlegroups.com
>>> 
>>> .
>>>
>> --
> 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+unsubscr...@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
> 
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/CALz9Rt-JApKZuOnNc-AuPszbC4QyKYbQnjDX%2BKM53A4uLy%3DHLg%40mail.gmail.com.


Re: [packer] Permission denied: '/etc/.ansible_tmp4jZR1Denvironment'

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

-- 
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+unsubscr...@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.


Re: [packer] Permission denied: '/etc/.ansible_tmp4jZR1Denvironment'

2019-11-06 Thread Rickard von Essen
Are you running Packer as root?

On Tue, Nov 5, 2019, 17:20 Hakim KHANCHOUCH <
hakim-externe.khancho...@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 packer-tool+unsubscr...@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
> 
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/CALz9Rt-FXWnH-uXoz6twKf899pBq4a1D0L82oEqZcH9pj%2BpaTQ%40mail.gmail.com.