Skip to content

Commit

Permalink
Added wait for ssh connection
Browse files Browse the repository at this point in the history
  • Loading branch information
c-bordon committed Sep 5, 2024
1 parent 39ad0e1 commit 723aae4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 16 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ansible_playbooks/ova_generator.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
- name: wait for ssh
tasks:
- wait_for:
port: 22
host: '{{ inventory_hostname }}'
delegate_to: localhost

- hosts: all
become: true
vars:
Expand Down
16 changes: 0 additions & 16 deletions .github/workflows/builder_OVA.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ on:
description: 'Branch or tag of the wazuh-installation-assistant repository'
required: true
default: '4.10.0'
WAZUH_AUTOMATION_REFERENCE:
description: 'Branch or tag of the wazuh-automation repository'
required: true
default: '4.10.0'
WAZUH_PACKAGE_REPOSITORY:
type: choice
description: 'Wazuh package repository from which to download the packages'
Expand Down Expand Up @@ -87,18 +83,6 @@ jobs:
aws-region: "us-east-1"
role-duration-seconds: 10800 # Set the duration of the role session to 3 hours

- name: Checkout wazuh/wazuh-automation repository
uses: actions/checkout@v4
with:
repository: wazuh/wazuh-automation
ref: ${{ inputs.WAZUH_AUTOMATION_REFERENCE }}
token: ${{ secrets.GH_CLONE_TOKEN }}
path: wazuh-automation

- name: Install and set allocator requirements
run: |
pip3 install -r wazuh-automation/deployability/deps/requirements.txt
- name: Create OVA VM
id: alloc_vm_ova
run: |
Expand Down

0 comments on commit 723aae4

Please sign in to comment.