From e6ecca20fa10e96222b84d136a6a7a3b51d9588d Mon Sep 17 00:00:00 2001 From: Tobias Richter Date: Wed, 7 Apr 2021 18:02:29 +0200 Subject: [PATCH] Fix conditional statement --- tasks/secrets.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/secrets.yml b/tasks/secrets.yml index 2fc7255..09a937c 100644 --- a/tasks/secrets.yml +++ b/tasks/secrets.yml @@ -9,7 +9,7 @@ - name: "secrets : set user home dir." set_fact: _secrets_home_dir: "{{ getent_passwd[jenkins_casc_owner][4] }}" - failed_when: _secrets_home_dir | length = 0 + failed_when: _secrets_home_dir | length == 0 - name: "secrets : create secrets dir." file: