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.

19 lines
405 B
YAML

---
- name: Run install command
command: "{{ install_command }}"
args:
chdir: "{{ src }}"
creates: "{{ src }}/node_modules"
- name: Register service for node server
template:
src: node.service
dest: "{{ global_systemd_configuration_directory }}/{{ service_name }}"
owner: root
group: root
mode: "u=rw,g=r,o="
notify:
- reload systemd
- "restart {{ domain }}"