Is it required to run ansible commands as the root user?

If running as another user, is there any privileges required to be given
for this user?



Fayad

Sent from my OnePlus One

On 17-Jul-2017 6:45 PM, "Fayad" <[email protected]> wrote:

> The issue was fixed by creating the ansible user on the client server with
> uid less than 500 which are meant for system accounts and the limit is not
> applicable for these accounts.
>
>
> Fayad
>
> Sent from my OnePlus One
>
> On 07-Jul-2017 1:49 AM, "Fayad" <[email protected]> wrote:
>
>> I tried increasing the limits but it won't take effect unless i disable
>> shell fork bomb protection from WHM interface. And is not a good idea to
>> disable it.
>>
>>
>>
>> Fayad
>>
>> Sent from my OnePlus One
>>
>> On 06-Jul-2017 10:31 PM, "Kai Stian Olstad" <
>> [email protected]> wrote:
>>
>> On 05. juli 2017 07:12, Fayad wrote:
>>
>>> Upon searching, I could see that the num triedber of processes for users
>>> other
>>> than root is restricted in cpanel servers. The suggested fix is to
>>> disable
>>> shell fork bomb protection but it is not secure. Also I'm unable to
>>> increase the limit.
>>>
>>> Currently I'm stuck at this point. Please let me know if this is the
>>> correct approach, like adding a new user for ansible etc.
>>>
>>
>> Is it not possible to lift this restriction on the user that runs Ansible?
>>
>> There work in progress to make Ansible use thread instead for forking,
>> this might help your case.
>>
>>
>> https://groups.google.com/forum/#!topic/ansible-devel/2-yqn3zuWg8
>>
>> --
>> Kai Stian Olstad
>>
>>
>> --
>> 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/ms
>> gid/ansible-project/6512805d-46b5-1c43-31d2-3f45f82ca562%40olstad.com.
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>>

-- 
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/CAFFLvzcYq%3DSiNyk9L0H0esJDJSVQA2VfOhToA%3Dzo6M5OmutkpQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to