That was the case Ondrej!!

Thank you very much !!!!!!!!!!!!

Regards!

W dniu wtorek, 21 listopada 2017 07:56:03 UTC+1 użytkownik Ondrej Prazak 
napisał:
>
> Hi,
> I recall there was a problem when importing roles from multiple paths, 
> which was fixed in 1.4.6 [1]. Try importing just from a single folder by 
> changing your /etc/ansible/ansible.cfg into something like:
>
> roles_path = /etc/ansible/roles
>
> Hope this helps,
> O.
>
> [1] http://projects.theforeman.org/issues/20884
>
> On Mon, Nov 20, 2017 at 4:22 PM, mt <[email protected] <javascript:>> 
> wrote:
>
>> Hello Guys,
>>
>> I'm running the Foreman Version 1.15.6 and Ansible plugin 1.4.5.
>>
>> I'm having a problem with integrating a Foreman to be able to see the 
>> Ansible roles from the GUI perspective.
>>
>> In my /etc/ansible/ansible.cfg I got:
>>
>> # additional paths to search for roles in, colon separated
>> roles_path    = /etc/ansible/roles:/usr/share/ansible/roles
>>
>> The content of my ansible directory is as follows:
>>
>> ls -latr /etc/ansible/
>> drwxr-xr-x.   3 root root  4096 Nov 16 14:44 roles
>>
>> ls -latr /etc/ansible/roles/
>> drwxr-xr-x. 8 root root 4096 Nov 16 13:54 nginx_deb
>>
>> ls -latr /etc/ansible/roles/nginx_deb/
>>
>> drwxr-xr-x. 2 root root 4096 Nov 16 13:54 vars
>> drwxr-xr-x. 2 root root 4096 Nov 16 13:54 templates
>> drwxr-xr-x. 2 root root 4096 Nov 16 13:54 meta
>> drwxr-xr-x. 8 root root 4096 Nov 16 13:54 .
>> drwxr-xr-x. 3 root root 4096 Nov 16 14:44 ..
>> drwxr-xr-x. 2 root root 4096 Nov 20 12:26 tasks
>> drwxr-xr-x. 2 root root 4096 Nov 20 12:27 handlers
>> drwxr-xr-x. 2 root root 4096 Nov 20 16:09 files
>>
>> The role itself is running fine from the CLI perspective and does what it 
>> should.
>>
>> The problem is, that I can't import this role to the GUI via "Configure 
>> -> Ansible: Roles". 
>>
>> All I got is "Success: No changes in roles detected"
>>
>> Of course Ansible Foreman plugin has been installed with following:
>>
>> "yum install tfm-rubygem-foreman_ansible"
>>
>> The foreman was restarted after above.
>>
>> Facts are also being imported fine to the Foreman, only those Roles doesn't.
>>
>> Any ideas guys?
>>
>> Thanks!
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Foreman users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/foreman-users.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" 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].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to