From b2552e839c18a6831e258dc13f90e55643cfaa34 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 10 Oct 2020 09:58:06 +0300 Subject: fix: unix_users scenario verifies user doesn't exist before creating --- roles/unix_users/subplot.yaml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'roles/unix_users/subplot.yaml') diff --git a/roles/unix_users/subplot.yaml b/roles/unix_users/subplot.yaml index 9fcc961..e59c9a0 100644 --- a/roles/unix_users/subplot.yaml +++ b/roles/unix_users/subplot.yaml @@ -1,2 +1,5 @@ +- then: the host has no user {username} + function: host_does_not_have_user + - then: the host has user {username} function: host_has_user -- cgit v1.2.1