This might be OT, but it is CentOS related.? I've been running Ansible on C7 for a handful of months now, and updated to 2.4 as soon as it was available. I've been building inventories by hand in that time (mostly due to the fact we had no actual documentation on the managed external customer servers). However, as we have a multiple VMware clusters, thought it might be time to tinker with dynamic inventories.? The problem is that the vmware_inventory.py script didn't come with 2.4 in CentOS 7, even though it's in the stable branch.? I'm curious, is this a deliberate omission on the CentOS maintainers part?? I couldn't find a package that included it. Am I missing something obvious? -- Mark Haney Network Engineer at NeoNova 919-460-3330 option 1 mark.haney at neonova.net www.neonova.net
Gordon Messmer
2017-Nov-08 22:22 UTC
[CentOS] Possibly [OT] ansible vmware inventory plugin
On 11/08/2017 10:37 AM, Mark Haney wrote:> The problem is that the vmware_inventory.py script didn't come with > 2.4 in CentOS 7, even though it's in the stable branch.? I'm curious, > is this a deliberate omission on the CentOS maintainers part?Both the Fedora package and the vendor's package build script rely on "setup.py install" to install the majority of packaged files, and Ansible's setup.py doesn't appear to do anything with the contrib directory, where the dynamic inventory scripts live. It doesn't look like the decision to omit those files was made by downstream packagers. My understanding is that those scripts are intended to be modified to fit the environment where they're used.? It *might* be useful to include them as "documentation" in the rpm package, but that doesn't seem like it would save much over making them available via the source repository.
Johnny Hughes
2017-Nov-09 11:18 UTC
[CentOS] Possibly [OT] ansible vmware inventory plugin
On 11/08/2017 12:37 PM, Mark Haney wrote:> This might be OT, but it is CentOS related.? I've been running Ansible > on C7 for a handful of months now, and updated to 2.4 as soon as it was > available. I've been building inventories by hand in that time (mostly > due to the fact we had no actual documentation on the managed external > customer servers). However, as we have a multiple VMware clusters, > thought it might be time to tinker with dynamic inventories.? The > problem is that the vmware_inventory.py script didn't come with 2.4 in > CentOS 7, even though it's in the stable branch.? I'm curious, is this a > deliberate omission on the CentOS maintainers part?? I couldn't find a > package that included it. > > Am I missing something obvious? >If you are talking about this Ansible: https://git.centos.org/summary/rpms!ansible Then that is as provided by Red Hat for RHEL-7 Extras. We (I) don't make any changes to the source code, it is built source code as released for RHEL. As to why the do things or do not do things, I have no idea. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: OpenPGP digital signature URL: <http://lists.centos.org/pipermail/centos/attachments/20171109/6c472323/attachment-0001.sig>
Yeah, it's the Extras repo Ansible package. So, my next (probably stupid) question, is there a way to get the vmware_inventory plugin setup on my system? <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon> Virus-free. www.avast.com <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> On Thu, Nov 9, 2017 at 6:18 AM, Johnny Hughes <johnny at centos.org> wrote:> On 11/08/2017 12:37 PM, Mark Haney wrote: > > This might be OT, but it is CentOS related. I've been running Ansible > > on C7 for a handful of months now, and updated to 2.4 as soon as it was > > available. I've been building inventories by hand in that time (mostly > > due to the fact we had no actual documentation on the managed external > > customer servers). However, as we have a multiple VMware clusters, > > thought it might be time to tinker with dynamic inventories. The > > problem is that the vmware_inventory.py script didn't come with 2.4 in > > CentOS 7, even though it's in the stable branch. I'm curious, is this a > > deliberate omission on the CentOS maintainers part? I couldn't find a > > package that included it. > > > > Am I missing something obvious? > > > > If you are talking about this Ansible: > > https://git.centos.org/summary/rpms!ansible > > Then that is as provided by Red Hat for RHEL-7 Extras. We (I) don't > make any changes to the source code, it is built source code as released > for RHEL. > > As to why the do things or do not do things, I have no idea. > > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos > >-- [image: photo] Mark Haney Network Engineer at NeoNova 919-460-3330 <(919)%20460-3330> (opt 1) ? mark.haney at neonova.net www.neonova.net <https://neonova.net/> <https://www.facebook.com/NeoNovaNNS/> <https://twitter.com/NeoNova_NNS> <http://www.linkedin.com/company/neonova-network-services>