From a49c999d549e397d8121ac5f5155d5c47dae77d6 Mon Sep 17 00:00:00 2001 From: Timo Makinen Date: Wed, 22 May 2019 22:25:31 +0300 Subject: [PATCH] fix newlines from ansible_wheel variable --- group_vars/all.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/group_vars/all.yml b/group_vars/all.yml index 1a51986..e10258f 100644 --- a/group_vars/all.yml +++ b/group_vars/all.yml @@ -4,12 +4,7 @@ ansible_python_interpreter: "/usr/bin/env python" # set group name with gid 0 -ansible_wheel: |- - {% if ansible_os_family in ["OpenBSD"] %} - wheel - {% else %} - root - {% endif %} +ansible_wheel: "{% if ansible_os_family in [\"OpenBSD\"] %}wheel{% else %}root{% endif %}" # mail settings mail_server: mail.foo.sh