From 2ddb24ebc37988ead8e42943c174704192fa82e2 Mon Sep 17 00:00:00 2001 From: Travis Truman Date: Wed, 2 Mar 2016 19:36:05 -0500 Subject: [PATCH] Removing unneeded with_items usage for clarity Change-Id: I9ae035d159919f275141f2de1daa2111cd66e540 --- tasks/galera_client_post_install.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/tasks/galera_client_post_install.yml b/tasks/galera_client_post_install.yml index 1d4eff4..639f72c 100644 --- a/tasks/galera_client_post_install.yml +++ b/tasks/galera_client_post_install.yml @@ -15,18 +15,13 @@ - name: Drop local .my.cnf file config_template: - src: "{{ item.src }}" - dest: "{{ item.dest }}" + src: "client.my.cnf.j2" + dest: "/root/.my.cnf" owner: "root" group: "root" mode: "0600" - config_overrides: "{{ item.config_overrides }}" - config_type: "{{ item.config_type }}" - with_items: - - src: "client.my.cnf.j2" - dest: "/root/.my.cnf" - config_overrides: "{{ galera_client_my_cnf_overrides }}" - config_type: "ini" + config_overrides: "{{ galera_client_my_cnf_overrides }}" + config_type: "ini" when: galera_client_drop_config_file tags: - galera-client-user-config