Files
ansible-lab/roles/scaenae/tasks/main.yml

35 lines
714 B
YAML

---
- name: Ensure ACL is installed
ansible.builtin.package:
name:
- acl
state: present
update_cache: yes
- name: Ensure git is installed
ansible.builtin.package:
name:
- git
state: present
update_cache: yes
- name: Pull from manifest repo
ansible.builtin.git:
repo: "{{ scaenae_repo_url }}"
dest: /opt/aton/wapps/scaenae
update: true
clone: false
version: master
become: true
# To be changed!!
become_user: nicolo
- name: Install Yarn dependencies based on package.json
community.general.yarn:
path: /opt/aton/wapps/scaenae
executable: "{{ yarn_exec }}"
production: true
become: true
# To be changed!!
become_user: nicolo