You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
319 B
YAML
15 lines
319 B
YAML
---
|
|
|
|
- name: Run install command
|
|
shell: "{{ install_command }}"
|
|
args:
|
|
chdir: "{{ src }}"
|
|
creates: "{{ src }}/node_modules"
|
|
executable: /bin/sh
|
|
|
|
- name: Register service for node server
|
|
template:
|
|
src: node.service
|
|
dest: "/etc/systemd/system/{{ service_name }}"
|
|
notify: "restart {{ domain }}"
|