| 1 | --- |
| 2 | - name: Config dirs |
| 3 | file: |
| 4 | state: directory |
| 5 | path: "$XDG_CONFIG_HOME/{{ item }}" |
| 6 | loop: |
| 7 | - npm |
| 8 | - name: State dirs |
| 9 | file: |
| 10 | state: directory |
| 11 | path: "$XDG_STATE_HOME/nodejs" |
| 12 | - name: config file |
| 13 | copy: |
| 14 | src: npmrc |
| 15 | dest: $XDG_CONFIG_HOME/npm/ |