Skip to content

Commit

Permalink
fix(#4843): Fixing certs scp ips
Browse files Browse the repository at this point in the history
  • Loading branch information
pro-akim committed Mar 25, 2024
1 parent 7fdb170 commit d8a834a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deployability/modules/testing/tests/helpers/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,12 +275,12 @@ def scp_to(from_inventory_path, to_inventory_path, file_name) -> None:
from_host = socket.gethostbyname(from_inventory_data.get('ansible_host'))
from_key = from_inventory_data.get('ansible_ssh_private_key_file')
from_user = from_inventory_data.get('ansible_user')
from_port = from_inventory_data.get('ansible_port:')
from_port = from_inventory_data.get('ansible_port')

to_host = socket.gethostbyname(to_inventory_data.get('ansible_host'))
to_key = to_inventory_data.get('ansible_ssh_private_key_file')
to_user = from_inventory_data.get('ansible_user')
to_port = to_inventory_data.get('ansible_port:')
to_port = to_inventory_data.get('ansible_port')

# Allowing handling permissions
if file_name == 'wazuh-install-files.tar':
Expand Down

0 comments on commit d8a834a

Please sign in to comment.