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:
parent
8e3fe85666
commit
ba367fd5bd
1
tests/.fmf/version
Normal file
1
tests/.fmf/version
Normal file
@ -0,0 +1 @@
|
|||||||
|
1
|
5
tests/provision.fmf
Normal file
5
tests/provision.fmf
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
standard-inventory-qcow2:
|
||||||
|
qemu:
|
||||||
|
m: 3G
|
8
tests/sanity/install-server.yml
Normal file
8
tests/sanity/install-server.yml
Normal 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
10
tests/sanity/inventory
Normal 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
3
tests/sanity/runtest.sh
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh -eux
|
||||||
|
|
||||||
|
ansible-playbook -i inventory install-server.yml -v --connection=local
|
14
tests/tests.yml
Normal file
14
tests/tests.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user