--- - 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 # This is required to ensure that the node executable is found # when running yarn environment: NVM_DIR: /home/nicolo/.nvm PATH: /home/nicolo/.nvm/versions/node/v22.21.1/bin:{{ ansible_env.PATH }}