From 1f1762bd25eab191c8994c0b321da12f43467d33 Mon Sep 17 00:00:00 2001
From: Thomas Woerner <twoerner@redhat.com>
Date: Mon, 11 May 2020 13:00:22 +0200
Subject: [PATCH] tests/host/test_hosts_principal.yml: Remove dudplicate hosts
 tag

The hosts tag is used twice in some tests. This leads to a warning in
Ansible. The commit removes the duplicate tags.
---
 tests/host/test_hosts_principal.yml | 2 --
 1 file changed, 2 deletions(-)

diff --git a/tests/host/test_hosts_principal.yml b/tests/host/test_hosts_principal.yml
index 87e3a853..3c10966a 100644
--- a/tests/host/test_hosts_principal.yml
+++ b/tests/host/test_hosts_principal.yml
@@ -141,7 +141,6 @@
         principal:
         - "{{ 'host/testhost1.' + ipaserver_domain + '@' + ipaserver_realm }}"
         - "{{ 'host/myhost1.' + ipaserver_domain + '@' + ipaserver_realm }}"
-      hosts:
       - name: "{{ host2_fqdn }}"
         principal:
         - "{{ 'host/testhost2.' + ipaserver_domain + '@' + ipaserver_realm }}"
@@ -159,7 +158,6 @@
         principal:
         - "{{ 'host/testhost1.' + ipaserver_domain + '@' + ipaserver_realm }}"
         - "{{ 'host/myhost1.' + ipaserver_domain + '@' + ipaserver_realm }}"
-      hosts:
       - name: "{{ host2_fqdn }}"
         principal:
         - "{{ 'host/testhost2.' + ipaserver_domain + '@' + ipaserver_realm }}"
-- 
GitLab