26 lines
742 B
Diff
26 lines
742 B
Diff
From bb612fb6c5f76a40fce368acb43d2847e699213d Mon Sep 17 00:00:00 2001
|
|
From: Rich Megginson <rmeggins@redhat.com>
|
|
Date: Thu, 28 Jan 2021 15:56:14 -0700
|
|
Subject: [PATCH] use state: absent instead of state: missing
|
|
|
|
---
|
|
tests/tests_hostkeys_missing.yml | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/tests/tests_hostkeys_missing.yml b/tests/tests_hostkeys_missing.yml
|
|
index 9dfe77b..5790684 100644
|
|
--- a/tests/tests_hostkeys_missing.yml
|
|
+++ b/tests/tests_hostkeys_missing.yml
|
|
@@ -40,7 +40,7 @@
|
|
- name: Make sure the key was not created
|
|
file:
|
|
path: /tmp/missing_ssh_host_rsa_key
|
|
- state: missing
|
|
+ state: absent
|
|
register: key
|
|
failed_when: key.changed
|
|
tags: tests::verify
|
|
--
|
|
2.29.2
|
|
|