4
0
Fork 0

added pause for rhel9 aswell

Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
Mark Bolwell 2022-06-20 17:33:06 +01:00
parent 6165191c08
commit 1ab63c73d6
No known key found for this signature in database
GPG key ID: F734FDFC154B83FB

View file

@ -83,16 +83,16 @@ jobs:
# Centos 7 images take a while to come up insert sleep or playbook fails # Centos 7 images take a while to come up insert sleep or playbook fails
- name: Check if test os is rhel7 - name: Check if test os is rhel7 or rhel9
working-directory: .github/workflows working-directory: .github/workflows
id: test_os id: test_os
run: >- run: >-
echo "::set-output name=RHEL7::$( echo "::set-output name=Pause::$(
grep -c RHEL7 OS.tfvars grep -c "RHEL\(7\|9\)" OS.tfvars
)" )"
- name: if RHEL7 - Sleep for 60 seconds - name: if RHEL(7|9) - Sleep for 60 seconds
if: steps.test_os.outputs.RHEL7 >= 1 if: steps.test_os.outputs.Pause >= 1
run: sleep 60s run: sleep 60s
shell: bash shell: bash