jss/tests/roles/Test_Setup/tasks/main.yml
Shalini Khandelwal c5c3f65415 Added tier0 gating tests for RHEL9
Resolves: #1954562

Signed-off-by: Shalini Khandelwal <skhandel@redhat.com>
2021-05-21 14:21:48 +05:30

27 lines
522 B
YAML

---
- name: Install jss
dnf:
name: >
jss
- name: Install required packages
dnf:
name: >
389-ds-base, pki-ca, pki-kra
- name: Creates directory
file: path=/tmp/test_files state=directory
- name: Copying templates to /tmp folder
copy : src=. dest=/tmp/test_dir
- name: Setup DS Service
shell: sh /tmp/test_dir/ds-create.sh
- name: Install CA subsystem
shell: pkispawn -f /tmp/test_dir/ca.cfg -s CA -v
- name: Install KRA subsystem
shell: pkispawn -f /tmp/test_dir/kra.cfg -s KRA -v