diff options
author | Ismaël Bouya <ismael.bouya@fretlink.com> | 2018-11-13 01:01:55 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@fretlink.com> | 2018-11-13 01:01:55 +0100 |
commit | 675e56e525459262cb97a651c1d9e65cb5f37e2c (patch) | |
tree | d0c239c27c42e407b29b1c2e622e1116f1c8ac37 /roles/programming | |
parent | a19180dfda49b96ff27911a71255ea3a504c4bb1 (diff) | |
download | Ansible-675e56e525459262cb97a651c1d9e65cb5f37e2c.tar.gz Ansible-675e56e525459262cb97a651c1d9e65cb5f37e2c.tar.zst Ansible-675e56e525459262cb97a651c1d9e65cb5f37e2c.zip |
Add nodejs history variable
Diffstat (limited to 'roles/programming')
-rw-r--r-- | roles/programming/nodejs/tasks/main.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/programming/nodejs/tasks/main.yml b/roles/programming/nodejs/tasks/main.yml index eef4d2f..fdcd678 100644 --- a/roles/programming/nodejs/tasks/main.yml +++ b/roles/programming/nodejs/tasks/main.yml | |||
@@ -5,6 +5,10 @@ | |||
5 | path: "$XDG_CONFIG_HOME/{{ item }}" | 5 | path: "$XDG_CONFIG_HOME/{{ item }}" |
6 | loop: | 6 | loop: |
7 | - npm | 7 | - npm |
8 | - name: State dirs | ||
9 | file: | ||
10 | state: directory | ||
11 | path: "$XDG_STATE_HOME/nodejs" | ||
8 | - name: config file | 12 | - name: config file |
9 | copy: | 13 | copy: |
10 | src: npmrc | 14 | src: npmrc |