1
0
Fork 0
This repository has been archived on 2024-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
Ansible_Project/ansistrano_tasks/dependencies.yml

24 lines
574 B
YAML
Raw Normal View History

2022-05-02 17:37:21 +02:00
---
- name: "Install PHP dependencies"
community.general.composer:
command: install
working_dir: "{{ ansistrano_release_path.stdout }}"
- name: "Create npm home dir"
file:
path: "/var/www/.npm"
state: directory
owner: www-data
group: www-data
become_user: root
2022-05-02 17:37:21 +02:00
- name: "Install JS dependencies"
community.general.npm:
path: "{{ ansistrano_release_path.stdout }}"
- name: "Compile SCSS"
ansible.builtin.command:
cmd: "./node_modules/gulp/bin/gulp.js build"
2022-05-02 17:37:21 +02:00
chdir: "{{ ansistrano_release_path.stdout }}"
#Todo: creates: ""