To get around the problem I simply commented out the 

become
become_user 
parts in 
/home/centos/elasticluster_20190520/src/elasticluster/share/playbooks/roles/ceph/tasks/mgr.yml

Not the most elegant solution.. But have not spent time investigating what 
is the proper way of dealing with privilege escalation for tasks. 

Maiken

On Tuesday, May 21, 2019 at 12:44:59 PM UTC+2, Maiken Pedersen wrote:
>
> Ansible 2.7 solves this problem. 
>
> However, a new one occurs with 2.7 which I will open a new post on: 
>
> AttributeError: 'module' object has no attribute 'OpenStackCloudTimeout'
>
> when trying to create volumes on the instances. 
>
> Thanks
> Maiken
>
>
> On Monday, May 20, 2019 at 10:18:26 PM UTC+2, Maiken Pedersen wrote:
>>
>> Thanks, certainly. I will try with ansible 2.7 and let you know. 
>>
>> Maiken
>>
>> On Monday, May 20, 2019 at 9:34:07 PM UTC+2, Riccardo Murri wrote:
>>>
>>> Hello Maiken, 
>>>
>>> looks like a syntax error in the playbooks, but I won't be able to 
>>> check until end of the week. 
>>> Can you please try with Ansible 2.7 and see if the error goes away? 
>>> Ciao, 
>>> R 
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticluster" 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/elasticluster/2f1e40d2-3a7c-4eb1-a72f-4dab9e7153da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to