forked from ansible-lockdown/RHEL9-CIS
added pause for rhel9 aswell
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
6165191c08
commit
1ab63c73d6
1 changed files with 5 additions and 5 deletions
10
.github/workflows/linux_benchmark_testing.yml
vendored
10
.github/workflows/linux_benchmark_testing.yml
vendored
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue