confluentinc / cp-ansible

Ansible playbooks for the Confluent Platform
Apache License 2.0
44 stars 405 forks source link

Install cryptography pip package in airgapped network #1571

Open lavalex opened 8 months ago

lavalex commented 8 months ago

For Confluent Enterprise Support customers, we would strongly advise you to open a Support ticket which will be addressed within your Support contract SLA at https://support.confluent.io

Describe the issue It's not clear how to install cryptograhy package through ansible in airgapped environment

To Reproduce Follow the documentation step7, it doesn't work https://docs.confluent.io/ansible/current/ansible-airgap.html

Expected behaviour It's not clear where to copy downloaded directory, when running ansible on the remote host I get network issues (obviously).

Environment (please complete the following information):

Additional context

sjoshid commented 7 months ago

Im stuck in this exact step.

My suggestions:

We are running Rocky 8.9 and given an airgapped network, I cant find another rocky 8.9 to run the download command from.

Let me know how that goes. I'll do the same till someone from Confluent updated the docs.

All the best!

sjoshid commented 7 months ago

Just found out that you can also download the crypto package from here. It lists different types based on your machine.

marcelboldt commented 6 months ago

There is also python3-cryptography rpm package in the official RHEL baseos repository.