File tree Expand file tree Collapse file tree 2 files changed +23
-23
lines changed
playbooks/roles/ocp-disa-stig-compliance/tasks Expand file tree Collapse file tree 2 files changed +23
-23
lines changed Original file line number Diff line number Diff line change 8484 - name : Check if pods are running
8585 shell : oc get pods -n openshift-compliance --no-headers | grep "Running" | wc -l
8686 register : compliance_pods
87- until : compliance_pods.stdout|int == 2
87+ until : compliance_pods.stdout|int == 3
8888 retries : 15
8989 delay : 60
9090
Original file line number Diff line number Diff line change 11---
2+ - name : Create Profile Bundle
3+ block :
4+ - name : Create Profile Bundle
5+ kubernetes.core.k8s :
6+ state : present
7+ definition :
8+ apiVersion : compliance.openshift.io/v1alpha1
9+ kind : ProfileBundle
10+ metadata :
11+ name : rhcos4-disa-stig
12+ namespace : openshift-compliance
13+ spec :
14+ contentFile : " {{ rhcos4_contentfile }}"
15+ contentImage : " {{ content_image }}"
16+
17+ - name : Check the profile bundle status
18+ shell : oc get ProfileBundle rhcos4-disa-stig | awk 'NR==2 {print $4}'
19+ register : pbstatus
20+ until : pbstatus.stdout == "VALID"
21+ retries : 10
22+ delay : 60
23+
224- name : Create Compliance suite
325 block :
426 - name : Create suite
2749 retries : 10
2850 delay : 60
2951
30- - name : Create Profile Bundle
31- block :
32- - name : Create Profile Bundle
33- kubernetes.core.k8s :
34- state : present
35- definition :
36- apiVersion : compliance.openshift.io/v1alpha1
37- kind : ProfileBundle
38- metadata :
39- name : rhcos4-disa-stig
40- namespace : openshift-compliance
41- spec :
42- contentFile : " {{ rhcos4_contentfile }}"
43- contentImage : " {{ content_image }}"
44-
45- - name : Check the profile bundle status
46- shell : oc get ProfileBundle rhcos4-disa-stig | awk 'NR==2 {print $4}'
47- register : pbstatus
48- until : pbstatus.stdout == "VALID"
49- retries : 10
50- delay : 60
51-
5252- name : Create SSB
5353 block :
5454 - name : Create SSB
You can’t perform that action at this time.
0 commit comments