add extras role
This commit is contained in:
13
roles/extras/tasks/npm.yml
Normal file
13
roles/extras/tasks/npm.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
|
||||
- name: Clone git repo for {{ matrix_extra }}
|
||||
ansible.builtin.git:
|
||||
repo: "{{ matrix_extra_git_repo }}"
|
||||
dest: /opt/{{ matrix_extra }}/src
|
||||
force: true
|
||||
|
||||
- name: Install {{ matrix_extra }}
|
||||
community.general.npm:
|
||||
path: /opt/{{ matrix_extra }}/src
|
||||
register: install
|
||||
notify: Restart matrix target
|
||||
Reference in New Issue
Block a user