We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5f08b90 + 88c4b46 commit 44cb5bfCopy full SHA for 44cb5bf
defaults/main.yml
@@ -4,3 +4,4 @@ source_dir: "{{ root_dir }}/src"
4
project_user: "{{ project_name }}"
5
ignore_devdependencies: false
6
npm_run_command: build
7
+uses_webpack_loader: false
tasks/main.yml
@@ -23,3 +23,10 @@
23
become_user: "{{ project_user }}"
24
vars:
25
ansible_ssh_pipelining: true
26
+
27
+- name: cp webpack-stats.json webpack-stats-live.json
28
+ command: cp webpack-stats.json webpack-stats-live.json
29
+ args:
30
+ chdir: "{{ source_dir }}"
31
+ become_user: "{{ project_user }}"
32
+ when: uses_webpack_loader
0 commit comments