From 4806916408c01e8c9c6baeda8cdb788841a4b18e Mon Sep 17 00:00:00 2001 From: Mischa ter Smitten Date: Thu, 21 Jul 2022 11:37:10 +0200 Subject: [PATCH] Remove with_flattened --- tasks/main.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 51a96c2..826299e 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -4,9 +4,7 @@ ansible.builtin.group: name: "{{ item }}" system: true - with_flattened: - - "{{ autossh_tunnel_server_group }}" - - "{{ autossh_tunnel_server_groups }}" + with_items: "{{ [autossh_tunnel_server_group] + autossh_tunnel_server_groups }}" tags: - configuration - autossh-tunnel-server