From 402f9b508fd14d34176e96d7aa414933b889b615 Mon Sep 17 00:00:00 2001 From: Istvan Beregszaszi Date: Sat, 6 May 2017 22:25:17 +0200 Subject: [PATCH] Converts set to JSON-serializable list Fixes #125. --- tasks/user_accounts.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/user_accounts.yml b/tasks/user_accounts.yml index 415581d3d..01a62a198 100644 --- a/tasks/user_accounts.yml +++ b/tasks/user_accounts.yml @@ -32,4 +32,4 @@ - name: change system accounts not on the user provided ignore-list user: name='{{item}}' shell='{{os_nologin_shell_path}}' password='*' with_items: - - '{{sys_accs_cond | default(omit) | difference(os_ignore_users) }}' + - '{{sys_accs_cond | default(omit) | difference(os_ignore_users) | list }}'