summaryrefslogtreecommitdiff
path: root/roles/git
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@fretlink.com>2018-11-13 01:50:44 +0100
committerIsmaël Bouya <ismael.bouya@fretlink.com>2018-11-13 01:50:44 +0100
commite1c588d325f33930d7a98eec97ec41caf6f3d468 (patch)
tree2a4c64fb04747eccdbcc731d5db11755f021d522 /roles/git
parent675e56e525459262cb97a651c1d9e65cb5f37e2c (diff)
downloadAnsible-e1c588d325f33930d7a98eec97ec41caf6f3d468.tar.gz
Ansible-e1c588d325f33930d7a98eec97ec41caf6f3d468.tar.zst
Ansible-e1c588d325f33930d7a98eec97ec41caf6f3d468.zip
Cleanup item loop controls
Diffstat (limited to 'roles/git')
-rw-r--r--roles/git/tasks/main.yml6
1 files changed, 2 insertions, 4 deletions
diff --git a/roles/git/tasks/main.yml b/roles/git/tasks/main.yml
index 853ecb2..b847d1d 100644
--- a/roles/git/tasks/main.yml
+++ b/roles/git/tasks/main.yml
@@ -9,13 +9,11 @@
9- name: Config files 9- name: Config files
10 copy: 10 copy:
11 mode: preserve 11 mode: preserve
12 src: "config_files/{{ config_item }}" 12 src: "config_files/{{ item }}"
13 dest: "$XDG_CONFIG_HOME/{{ config_item }}" 13 dest: "$XDG_CONFIG_HOME/{{ item }}"
14 loop: 14 loop:
15 - tig/config 15 - tig/config
16 - git/templates_fretlink/hooks/pre-push 16 - git/templates_fretlink/hooks/pre-push
17 loop_control:
18 loop_var: config_item
19- name: git config file 17- name: git config file
20 template: 18 template:
21 src: config.j2 19 src: config.j2