"You're killing me Smalls." or issues using Ansible 2.4 and Packer on RHEL 7

45 views
Skip to first unread message

Dan Linder

unread,
Oct 6, 2017, 7:33:24 AM10/6/17
to Packer
For the past few months I've had a Packer build process that would pull in the Ansible core command line tool from EPEL and use it during the first stage of the Packer process while building my generic VM templates.

With the release of 2.4, Ansible Core was removed from EPEL and placed into https://releases.ansible.com, so I added it as well as EPEL to my build process (it still relies on some packages only available via EPEL).

Sadly, the 2.4 release also appears to require the Python2-cryptography package which is only available from the RedHat "Extras" file set (which is only available after a system has registered with Satellite).

Is there a step or process I'm missing or totally off track for this, or do I need to retrieve and add that last remaining package as a manual upload and install into my Packer build process?

Thanks!
Dan

Alvaro Miranda Aguilera

unread,
Oct 6, 2017, 7:53:46 AM10/6/17
to packe...@googlegroups.com
hello

what hypervisor are you using?


I would cache the Python2-cryptography in some local site and install it like yum install-local -y

you could create a repo for it as part of the bootstrap process and then when you register with satellite you remove that repo.

Alvaro

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/ded04259-0199-407e-90be-0e9c615f37bc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Alvaro

Dan Linder

unread,
Oct 6, 2017, 8:41:47 AM10/6/17
to packe...@googlegroups.com
Hypervisor is currently VMWare Workstation 12.5 on Windows 10, but I'm planning to re-point the Packer steps at our VMware ESX/VSphere servers in the future.

Dan

You received this message because you are subscribed to a topic in the Google Groups "Packer" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/packer-tool/1YpIrEOaEIE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to packer-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/CAHqq0eyxZ_nw2cEJdp%2BoeY13o3u_%2BJ4zt7-0dB1CzmMhGcPG%3Dg%40mail.gmail.com.

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



--
***************** ************* *********** ******* ***** *** **
"If you wish to make an apple pie from scratch, 
  you must first invent the universe."
  -- Carl Sagan

"Quis custodiet ipsos custodes?"
    (Who can watch the watchmen?)
    -- from the Satires of Juvenal

"I do not fear computers, I fear the lack of them."
    -- Isaac Asimov (Author)
** *** ***** ******* *********** ************* *****************
Reply all
Reply to author
Forward
0 new messages