Add tier0 test for c8s

The test has not been imported automatically and therefore has been missing.
Related: RHBZ#2170371
This commit is contained in:
Thomas Woerner 2023-04-11 13:14:32 +02:00
parent 8e3fe85666
commit ba367fd5bd
6 changed files with 41 additions and 0 deletions

1
tests/.fmf/version Normal file
View File

@ -0,0 +1 @@
1

5
tests/provision.fmf Normal file
View File

@ -0,0 +1,5 @@
---
standard-inventory-qcow2:
qemu:
m: 3G

View File

@ -0,0 +1,8 @@
---
- name: Playbook to configure IPA servers
hosts: ipaserver
become: true
roles:
- role: ipaserver
state: present

10
tests/sanity/inventory Normal file
View File

@ -0,0 +1,10 @@
[ipaserver]
localhost
[ipaserver:vars]
ipaserver_domain=example.test
ipaserver_realm=EXAMPLE.TEST
ipaserver_setup_dns=yes
ipaserver_auto_forwarders=yes
ipaadmin_password=Secret123
ipadm_password=Secret123

3
tests/sanity/runtest.sh Normal file
View File

@ -0,0 +1,3 @@
#!/bin/sh -eux
ansible-playbook -i inventory install-server.yml -v --connection=local

14
tests/tests.yml Normal file
View File

@ -0,0 +1,14 @@
---
- hosts: localhost
tags:
- classic
roles:
- role: standard-test-basic
required_packages:
- firewalld
# pip3 is used to install ansible 2.8+
#- ansible
required_services:
- firewalld
tests:
- sanity