Warnings during ansible playbook run

561 views
Skip to first unread message

Chris Bidwell - NOAA Federal

unread,
Aug 15, 2018, 12:42:11 PM8/15/18
to ansible...@googlegroups.com
Have you guys seen this before?  What is causing this:

Warning: Due to potential bad behaviour with rhnplugin and certificates, used slower repoquery calls instead of Yum API.

Thanks!

Jonathan Lozada De La Matta

unread,
Aug 15, 2018, 12:48:55 PM8/15/18
to ansible...@googlegroups.com
Chris,

what ansible version and what are you trying to do ? I haven't seen it before.

--
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAHKi8CifJ_h2uTbkf888MZpHcRKnQ%2B4t_Ard_w_PoCkW5AowJw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


--

Jonathan lozada de la matta

AUTOMATION CONSULTANT - AUTOMATION PRACTICE

Red Hat Consulting Services

jloz...@redhat.com   



 

Chris Bidwell - NOAA Federal

unread,
Aug 15, 2018, 12:52:16 PM8/15/18
to ansible...@googlegroups.com
I think it is because my ansible.cfg is set to:  stdout_callback = unixy

I was trying to get my ansible output to show a more human readable format instead of all this mess in the same line.

ansible 2.6.2
  config file = /etc/ansible/ansible.cfg
  configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python2.7/site-packages/ansible
  executable location = /bin/ansible
  python version = 2.7.5 (default, May 31 2018, 09:41:32) [GCC 4.8.5 20150623 (Red Hat 4.8.5-28)]

On Wed, Aug 15, 2018 at 10:48 AM, Jonathan Lozada De La Matta <jloz...@redhat.com> wrote:
Chris,

what ansible version and what are you trying to do ? I haven't seen it before.

On Wed, Aug 15, 2018 at 12:42 PM 'Chris Bidwell - NOAA Federal' via Ansible Project <ansible-project@googlegroups.com> wrote:
Have you guys seen this before?  What is causing this:

Warning: Due to potential bad behaviour with rhnplugin and certificates, used slower repoquery calls instead of Yum API.

Thanks!

--
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 ansible-project+unsubscribe@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.


--

Jonathan lozada de la matta

AUTOMATION CONSULTANT - AUTOMATION PRACTICE

Red Hat Consulting Services

jloz...@redhat.com   



 

--
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 ansible-project+unsubscribe@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAFYJA%2BKAojodsAVT4HkZg2UFzcG9xzNckq8Q6WYpC4tOEatj-A%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.



--

Chris Bidwell, CISSP
Space Weather Prediction Center
National Oceanic Atmospheric Administration
email: chris.b...@noaa.gov
office: 303-497-3204
mobile: 720-496-3126

Matt Martz

unread,
Aug 15, 2018, 1:15:17 PM8/15/18
to ansible...@googlegroups.com
This warning exists when the yum plugin "rhnplugin" is installed and enabled on your system.  As the message states, there is a bad interaction between rhnplugin and certificates.  As a result, we use a slower means to perform some tasks.  We add a warning to explain this situation.

This was added as a result of the following issue: https://github.com/ansible/ansible-modules-core/pull/1516

On Wed, Aug 15, 2018 at 11:52 AM 'Chris Bidwell - NOAA Federal' via Ansible Project <ansible...@googlegroups.com> wrote:
I think it is because my ansible.cfg is set to:  stdout_callback = unixy

I was trying to get my ansible output to show a more human readable format instead of all this mess in the same line.

ansible 2.6.2
  config file = /etc/ansible/ansible.cfg
  configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python2.7/site-packages/ansible
  executable location = /bin/ansible
  python version = 2.7.5 (default, May 31 2018, 09:41:32) [GCC 4.8.5 20150623 (Red Hat 4.8.5-28)]
On Wed, Aug 15, 2018 at 10:48 AM, Jonathan Lozada De La Matta <jloz...@redhat.com> wrote:
Chris,

what ansible version and what are you trying to do ? I haven't seen it before.

On Wed, Aug 15, 2018 at 12:42 PM 'Chris Bidwell - NOAA Federal' via Ansible Project <ansible...@googlegroups.com> wrote:
Have you guys seen this before?  What is causing this:

Warning: Due to potential bad behaviour with rhnplugin and certificates, used slower repoquery calls instead of Yum API.

Thanks!

--
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.


--

Jonathan lozada de la matta

AUTOMATION CONSULTANT - AUTOMATION PRACTICE

Red Hat Consulting Services

jloz...@redhat.com   



 

--
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.



--

Chris Bidwell, CISSP
Space Weather Prediction Center
National Oceanic Atmospheric Administration
email: chris.b...@noaa.gov
office: 303-497-3204
mobile: 720-496-3126

--
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAHKi8CjmMJNjs_vRPdE_agWzCt8-nisMJaVHkgCJdALgeZqd5A%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.


--
Matt Martz
@sivel
sivel.net
Reply all
Reply to author
Forward
0 new messages