From bd3388ba4dde2bc31908e262bfcfffd2950f3b3c Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mon, 18 Nov 2019 18:47:03 +0000 Subject: [PATCH] sundries: fix up when clause, you can't pass it a list like this. Signed-off-by: Kevin Fenzi --- playbooks/groups/sundries.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/playbooks/groups/sundries.yml b/playbooks/groups/sundries.yml index 88fbb781ca..69f3565882 100644 --- a/playbooks/groups/sundries.yml +++ b/playbooks/groups/sundries.yml @@ -52,14 +52,10 @@ - role: developer/build when: master_sundries_node|bool - { role: fedmsg/base, - when: - - master_sundries_node|bool - - deployment_type == "prod" } + when: master_sundries_node|bool and deployment_type == "prod" } - { role: rabbit/user, username: "sundries{{ env_suffix }}", - when: - - master_sundries_node|bool - - deployment_type == "stg" } + when: master_sundries_node|bool and deployment_type == "stg" } - role: fedmsg/base when: master_sundries_node|bool - role: nfs/client