Re: [ansible-project] Re: Ansible usage of puppet "facter" not working in some hosts

2019-06-17 Thread Thomas Spear
Thanks. I'll give that a shot On Mon, Jun 17, 2019, 6:26 PM Dan Linder wrote: > Since you have at least one working and one failing machine (presumably of > the same OS version), can you compare the "rpm -qa" output and see what's > different between the two just in case it's a simple package th

[ansible-project] Re: Ansible usage of puppet "facter" not working in some hosts

2019-06-17 Thread Dan Linder
Since you have at least one working and one failing machine (presumably of the same OS version), can you compare the "rpm -qa" output and see what's different between the two just in case it's a simple package that was missing? On Sunday, June 16, 2019 at 2:10:04 PM UTC-5, Thomas Spear wrote: >

Re: [ansible-project] Re: Ansible usage of puppet "facter" not working in some hosts

2019-06-17 Thread Thomas Spear
Thanks for that. I just checked and I do get json formatted output with that flag. I'll try to get our ansible infrastructure team to take a look. Thanks again. On Mon, Jun 17, 2019, 2:35 PM Brian Coca wrote: > depends, some build it from gems with diff options, some have it all > in one package

Re: [ansible-project] Re: Ansible usage of puppet "facter" not working in some hosts

2019-06-17 Thread Brian Coca
depends, some build it from gems with diff options, some have it all in one package, some have diff packages, normally testing 'facter --json' should be enough to tell you -- -- Brian Coca -- You received this message because you are subscribed to the Google Groups "Ansible Project"

Re: [ansible-project] Re: Ansible usage of puppet "facter" not working in some hosts

2019-06-17 Thread Thomas Spear
How can I tell if that's the case? They every server's install should be the same. On Mon, Jun 17, 2019, 1:41 PM Brian Coca wrote: > One note, factor and ohai must support JSON output for the setup > module to be able to use them, so they won't work unless they were > installed with JSON support

Re: [ansible-project] Re: Ansible usage of puppet "facter" not working in some hosts

2019-06-17 Thread Brian Coca
One note, factor and ohai must support JSON output for the setup module to be able to use them, so they won't work unless they were installed with JSON support. -- -- Brian Coca -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To uns

Re: [ansible-project] Re: Ansible usage of puppet "facter" not working in some hosts

2019-06-17 Thread Kai Stian Olstad
On 17.06.2019 02:12, Thomas Spear wrote: > Hello, thanks for the link. > > Unfortunately, I am trying to debug the setup module, which is bundled with > the app from RedHat. I don't think I would be able to add a breakpoint to > that module, least of all on a production system (which, conveniently

Re: [ansible-project] Re: Ansible usage of puppet "facter" not working in some hosts

2019-06-16 Thread Thomas Spear
Hello, thanks for the link. Unfortunately, I am trying to debug the setup module, which is bundled with the app from RedHat. I don't think I would be able to add a breakpoint to that module, least of all on a production system (which, conveniently, is the only place we can replicate this) Any

Re: [ansible-project] Re: Ansible usage of puppet "facter" not working in some hosts

2019-06-16 Thread Kai Stian Olstad
On 16.06.2019 22:27, Thomas Spear wrote: > To be a bit clearer, I want to know if there is some way to run the setup > module in debug mode, so I can get more output on what the module is doing > as it tries to gather facts from the system. https://docs.ansible.com/ansible/latest/dev_guide/debuggi

[ansible-project] Re: Ansible usage of puppet "facter" not working in some hosts

2019-06-16 Thread Thomas Spear
To be a bit clearer, I want to know if there is some way to run the setup module in debug mode, so I can get more output on what the module is doing as it tries to gather facts from the system. I want to do this on the working server so I can compare what its doing when it gathers the puppet fac