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/contexts | |
parent | ae3ee40122874b15242821249e101147f573b508 (diff) | |
download | Ansible-eac82f289d503c5bcc0d1e04784d027745d371c6.tar.gz Ansible-eac82f289d503c5bcc0d1e04784d027745d371c6.tar.zst Ansible-eac82f289d503c5bcc0d1e04784d027745d371c6.zip |
Replace synchronize wiht copy
Diffstat (limited to 'roles/contexts')
-rw-r--r-- | roles/contexts/fretlink/tasks/main.yml | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/roles/contexts/fretlink/tasks/main.yml b/roles/contexts/fretlink/tasks/main.yml index b1b163a..57d332e 100644 --- a/roles/contexts/fretlink/tasks/main.yml +++ b/roles/contexts/fretlink/tasks/main.yml | |||
@@ -7,12 +7,11 @@ | |||
7 | - programming/haskell | 7 | - programming/haskell |
8 | - programming/nodejs | 8 | - programming/nodejs |
9 | - name: Config files | 9 | - name: Config files |
10 | synchronize: | 10 | copy: |
11 | recursive: yes | 11 | src: "config_files/{{ item }}" |
12 | archive: no | 12 | dest: "$XDG_CONFIG_HOME/{{ item }}" |
13 | checksum: yes | 13 | loop: |
14 | src: config_files/ | 14 | - "autostart/zeal.desktop" |
15 | dest: /$XDG_CONFIG_HOME/ | ||
16 | - name: Create pm2 config dir | 15 | - name: Create pm2 config dir |
17 | file: | 16 | file: |
18 | path: $XDG_CONFIG_HOME/pm2 | 17 | path: $XDG_CONFIG_HOME/pm2 |
@@ -20,16 +19,12 @@ | |||
20 | - name: workdir | 19 | - name: workdir |
21 | block: | 20 | block: |
22 | - name: workdir scripts | 21 | - name: workdir scripts |
23 | synchronize: | 22 | copy: |
24 | recursive: yes | ||
25 | archive: no | ||
26 | checksum: yes | ||
27 | src: workdir/ | ||
28 | dest: /$HOME/workdir/ | ||
29 | - name: chmod workdir script | ||
30 | file: | ||
31 | path: $HOME/workdir/start | ||
32 | mode: 0755 | 23 | mode: 0755 |
24 | src: "workdir/{{ item }}" | ||
25 | dest: "$HOME/workdir/{{ item }}" | ||
26 | loop: | ||
27 | - start | ||
33 | - name: environment variables file | 28 | - name: environment variables file |
34 | block: | 29 | block: |
35 | - name: extract environment | 30 | - name: extract environment |