Server and client both have ansible ver. 2.2 installed.

I selected a ntp-tole and provided it to the cleint-host.

If i click on "Play ansible-role" it does nothing.

here formeman production log:

2016-11-29 09:45:53 [app] [I] Started GET "/ansible/hosts/128/play_roles" 
for 192.168.0.6 at 2016-11-29 09:45:53 +0100
2016-11-29 09:45:53 [app] [I] Processing by HostsController#play_roles as 
HTML
2016-11-29 09:45:53 [app] [I]   Parameters: {"id"=>"128"}
2016-11-29 09:45:53 [app] [I] Performing ForemanAnsible::RunPlaybookJob 
from Inline(ansible) with arguments: 
"/tmp/foreman-ansible-client-roles20161129-7519-18oll3f", 
"/tmp/foreman-331b3e32-5486-485f-8216-4cf8de34c066-inventory20161129-7519-6i3owj"
2016-11-29 09:45:53 [foreman_ansible] [I] PID for playbook run for 
/tmp/foreman-ansible-client-roles20161129-7519-18oll3f 
/tmp/foreman-331b3e32-5486-485f-8216-4cf8de34c066-inventory20161129-7519-6i3owj:
 
4453
2016-11-29 09:45:53 [app] [I] Performed ForemanAnsible::RunPlaybookJob from 
Inline(ansible) in 1.08ms
2016-11-29 09:45:53 [app] [I] Enqueued ForemanAnsible::RunPlaybookJob (Job 
ID: d6ab0d86-2b90-4946-95f4-4ed7ab82369c) to Inline(ansible) with 
arguments: 
"/tmp/foreman-ansible-hhvm1.nodes.rto.de-roles20161129-7519-18oll3f", 
"/tmp/foreman-331b3e32-5486-485f-8216-4cf8de34c066-inventory20161129-7519-6i3owj"
2016-11-29 09:45:53 [app] [I] Redirected to 
https://theforeman.nodes.rto.de/hosts/hhvm1.nodes.rto.de
2016-11-29 09:45:53 [app] [I] Completed 302 Found in 44ms (ActiveRecord: 
6.9ms)
2016-11-29 09:45:53 [app] [I] Started GET "/hosts/hhvm1.nodes.rto.de" for 
192.168.0.6 at 2016-11-29 09:45:53 +0100
2016-11-29 09:45:53 [app] [I] Processing by HostsController#show as HTML
2016-11-29 09:45:53 [app] [I]   Parameters: {"id"=>"hhvm1.nodes.rto.de"}
2016-11-29 09:45:53 [app] [I]   Rendered hosts/_metrics.html.erb (1.0ms)
2016-11-29 09:45:53 [app] [I]   Rendered hosts/show.html.erb within 
layouts/application (121.5ms)
2016-11-29 09:45:53 [app] [I]   Rendered 
layouts/_application_content.html.erb (0.7ms)
2016-11-29 09:45:53 [app] [I]   Rendered home/_user_dropdown.html.erb 
(3.5ms)
2016-11-29 09:45:53 [app] [I] Read fragment views/tabs_and_title_records-6 
(0.6ms)
2016-11-29 09:45:53 [app] [I]   Rendered home/_topbar.html.erb (12.7ms)
2016-11-29 09:45:53 [app] [I]   Rendered layouts/base.html.erb (14.8ms)
2016-11-29 09:45:53 [app] [I] Completed 200 OK in 172ms (Views: 129.7ms | 
ActiveRecord: 14.9ms)
2016-11-29 09:45:54 [app] [I] Started GET 
"/images/avatars/4f0d9e11637861e817b0d619a3a236b2c404087e.jpg" for 
192.168.0.6 at 2016-11-29 09:45:54 +0100

There is no file 
"/tmp/foreman-331b3e32-5486-485f-8216-4cf8de34c066-inventory20161129-7519-6i3owj"
 
in tmp directory.

Should both client and server have in /etc/ansbiel/ansible.cfg option 
activated?

[defaults]

callback_whitelist = foreman <<--$FQDN?


Greets,
Denis

-- 
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