I'm trying to use Ansible with Foreman.
Foreman 1.12.1 and Ansible 1.9 is on SL7 installed. I followed the plugin
instalation instructions but some questions are still open.
FOREMAN_URL: the URL of your Foreman installation (default
“http://localhost:3000”) - I have no service listening on port 3000 - which
port/service should i chose?
Thanks KaneK, one step But still no events when i look into the
production log file. Did you get any further?
···
Am Mittwoch, 3. August 2016 16:36:04 UTC+2 schrieb KaneK:
>
> The URL is the address you type in to get to your Foreman website eg
> https://billybob.localdomain.net
>
> If you installed via foreman-installer your wont need the port as it sets
> up Apache not to need one.
>
>
>
> On Wednesday, 3 August 2016 13:38:23 UTC+1, Vadim Bulst wrote:
>>
>> Hi there,
>>
>> I'm trying to use Ansible with Foreman.
>> Foreman 1.12.1 and Ansible 1.9 is on SL7 installed. I followed the plugin
>> instalation instructions but some questions are still open.
>>
>> FOREMAN_URL: the URL of your Foreman installation (default
>> “http://localhost:3000”) - I have no service listening on port 3000 - which
>> port/service should i chose?
>>
>> [root@urzlxdeploy urzadmin]# netstat -tulpn
>> Active Internet connections (only servers)
>> Proto Recv-Q Send-Q Local Address Foreign Address State
>> PID/Program name
>> tcp 0 0 127.0.0.1:34409 0.0.0.0:*
>> LISTEN 5692/Passenger Rack
>> tcp 0 0 0.0.0.0:8140 0.0.0.0:*
>> LISTEN 4720/httpd
>> tcp 0 0 0.0.0.0:8080 0.0.0.0:*
>> LISTEN 4720/httpd
>> tcp 0 0 0.0.0.0:80 0.0.0.0:*
>> LISTEN 4720/httpd
>> tcp 0 0 0.0.0.0:22 0.0.0.0:*
>> LISTEN 1288/sshd
>> tcp 0 0 127.0.0.1:5432 0.0.0.0:*
>> LISTEN 1584/postgres
>> tcp 0 0 0.0.0.0:443 0.0.0.0:*
>> LISTEN 4720/httpd
>> tcp 0 0 0.0.0.0:8443 0.0.0.0:*
>> LISTEN 4565/ruby
>> tcp 0 0 127.0.0.1:46246 0.0.0.0:*
>> LISTEN 6846/Passenger Rack
>> tcp6 0 0 :::22 :::*
>> LISTEN 1288/sshd
>> udp 0 0 0.0.0.0:69 0.0.0.0:*
>> 1299/xinetd
>> udp 0 0 127.0.0.1:323 0.0.0.0:*
>> 626/chronyd
>> udp6 0 0 ::1:323 :::*
>> 626/chronyd
>>
>>
>> Cheers,
>>
>> Vadim
>>
>
If you installed via foreman-installer your wont need the port as it sets
up Apache not to need one.
On Wednesday, 3 August 2016 13:38:23 UTC+1, Vadim Bulst wrote:
Hi there,
I’m trying to use Ansible with Foreman.
Foreman 1.12.1 and Ansible 1.9 is on SL7 installed. I followed the plugin
instalation instructions but some questions are still open.
FOREMAN_URL: the URL of your Foreman installation (default
“http://localhost:3000”) - I have no service listening on port 3000 - which
port/service should i chose?
sorry - I was switching back to ansible 1.9 and it did overwrite me
ansible.cfg. I did the recommended changes and i was able to successfully
run "ansible -m setup localhost" .
So everything is working now - thanks to all of you.
Cheers,
Vadim
···
On Thursday, August 4, 2016 at 11:18:46 AM UTC+2, Daniel Lobato wrote:
>
> On 08/03, Vadim Bulst wrote:
> > Thanks KaneK, one step ;) But still no events when i look into the
> > production log file. Did you get any further?
>
> You don't see any events when you do what exactly? You need to have the
> callback plugin installed in whichever host you use ansible from:
>
> https://theforeman.org/plugins/foreman_ansible/1.x/index.html
>
> Then after running 'ansible-playbook' they should report to Foreman. Let
> us know if you see any errors in the logs or something.
>
> >
> > Am Mittwoch, 3. August 2016 16:36:04 UTC+2 schrieb KaneK:
> > >
> > > The URL is the address you type in to get to your Foreman website eg
> > > https://billybob.localdomain.net
> > >
> > > If you installed via foreman-installer your wont need the port as it
> sets
> > > up Apache not to need one.
> > >
> > >
> > >
> > > On Wednesday, 3 August 2016 13:38:23 UTC+1, Vadim Bulst wrote:
> > >>
> > >> Hi there,
> > >>
> > >> I'm trying to use Ansible with Foreman.
> > >> Foreman 1.12.1 and Ansible 1.9 is on SL7 installed. I followed the
> plugin
> > >> instalation instructions but some questions are still open.
> > >>
> > >> FOREMAN_URL: the URL of your Foreman installation (default
> > >> “http://localhost:3000”) - I have no service listening on port 3000 -
> which
> > >> port/service should i chose?
> > >>
> > >> [root@urzlxdeploy urzadmin]# netstat -tulpn
> > >> Active Internet connections (only servers)
> > >> Proto Recv-Q Send-Q Local Address Foreign Address
> State
> > >> PID/Program name
> > >> tcp 0 0 127.0.0.1:34409 0.0.0.0:*
> > >> LISTEN 5692/Passenger Rack
> > >> tcp 0 0 0.0.0.0:8140 0.0.0.0:*
> > >> LISTEN 4720/httpd
> > >> tcp 0 0 0.0.0.0:8080 0.0.0.0:*
> > >> LISTEN 4720/httpd
> > >> tcp 0 0 0.0.0.0:80 0.0.0.0:*
> > >> LISTEN 4720/httpd
> > >> tcp 0 0 0.0.0.0:22 0.0.0.0:*
> > >> LISTEN 1288/sshd
> > >> tcp 0 0 127.0.0.1:5432 0.0.0.0:*
> > >> LISTEN 1584/postgres
> > >> tcp 0 0 0.0.0.0:443 0.0.0.0:*
> > >> LISTEN 4720/httpd
> > >> tcp 0 0 0.0.0.0:8443 0.0.0.0:*
> > >> LISTEN 4565/ruby
> > >> tcp 0 0 127.0.0.1:46246 0.0.0.0:*
> > >> LISTEN 6846/Passenger Rack
> > >> tcp6 0 0 :::22 :::*
> > >> LISTEN 1288/sshd
> > >> udp 0 0 0.0.0.0:69 0.0.0.0:*
> > >> 1299/xinetd
> > >> udp 0 0 127.0.0.1:323 0.0.0.0:*
> > >> 626/chronyd
> > >> udp6 0 0 ::1:323 :::*
> > >> 626/chronyd
> > >>
> > >>
> > >> Cheers,
> > >>
> > >> Vadim
> > >>
> > >
> >
> > --
> > 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 foreman-user...@googlegroups.com .
> > To post to this group, send email to forema...@googlegroups.com
> .
> > Visit this group at https://groups.google.com/group/foreman-users.
> > For more options, visit https://groups.google.com/d/optout.
>
>
> --
> Daniel Lobato Garcia
>
> @dLobatog
> blog.daniellobato.me
> daniellobato.me
>
> GPG: http://keys.gnupg.net/pks/lookup?op=get&search=0x7A92D6DD38D6DE30
> Keybase: https://keybase.io/elobato
>