passbolt / lab-passbolt-ansible-collection

Source repository for https://galaxy.ansible.com/anatomicjc/passbolt
MIT No Attribution
9 stars 10 forks source link

Correct variable to "environment" instead of "verify" in the code in plugins/lookup/passbolt_inventory.py #16

Open abejotaR opened 6 months ago

abejotaR commented 6 months ago

Description: It is necessary to correct the expression variables.get("verify") to variables.get("environment") in the code file plugins/lookup/passbolt_inventory.py, specifically on line 95. It is important to note that in the file plugins/lookup/passbolt.py, the variable is correctly defined.

Proposed Steps:

  1. Make the necessary modification on line 95 of the file plugins/lookup/passbolt_inventory.py to correct the variable to "environment".
  2. Verify that the modification does not negatively impact the code's functionality.
abejotaR commented 6 months ago

In relation to this error, I have noticed that httpx does not recognize the Certification Authority (CA) present at the operating system level. In my experience, by standing up a Passbolt instance with a self-signed Certificate Authority (CA) and adding it to the list of trusted certificates, I managed to run a curl command to that instance. However, when trying to run either plugin, neither recognizes the added CA.