diff options
author | Ismaël Bouya <ismael.bouya@fretlink.com> | 2018-11-10 13:15:21 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@fretlink.com> | 2018-11-10 13:15:21 +0100 |
commit | eac82f289d503c5bcc0d1e04784d027745d371c6 (patch) | |
tree | aadec0ce4c45bb38fd35f5183cad49e8da7ea4bf /roles/git | |
parent | ae3ee40122874b15242821249e101147f573b508 (diff) | |
download | Ansible-eac82f289d503c5bcc0d1e04784d027745d371c6.tar.gz Ansible-eac82f289d503c5bcc0d1e04784d027745d371c6.tar.zst Ansible-eac82f289d503c5bcc0d1e04784d027745d371c6.zip |
Replace synchronize wiht copy
Diffstat (limited to 'roles/git')
-rw-r--r-- | roles/git/tasks/main.yml | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/roles/git/tasks/main.yml b/roles/git/tasks/main.yml index 440e178..e2a5bbf 100644 --- a/roles/git/tasks/main.yml +++ b/roles/git/tasks/main.yml | |||
@@ -1,11 +1,14 @@ | |||
1 | --- | 1 | --- |
2 | - name: Config files | 2 | - name: Config files |
3 | synchronize: | 3 | copy: |
4 | recursive: yes | 4 | mode: preserve |
5 | archive: no | 5 | src: "config_files/{{ config_item }}" |
6 | checksum: yes | 6 | dest: "$XDG_CONFIG_HOME/{{ config_item }}" |
7 | src: config_files/ | 7 | loop: |
8 | dest: /$XDG_CONFIG_HOME/ | 8 | - tig/config |
9 | - git/templates_fretlink/hooks/pre-push | ||
10 | loop_control: | ||
11 | loop_var: config_item | ||
9 | - name: git config file | 12 | - name: git config file |
10 | template: | 13 | template: |
11 | src: config.j2 | 14 | src: config.j2 |