737ca7b996
Signed-off-by: Hadrien Patte <hadrien.patte@protonmail.com>
34 lines
734 B
YAML
34 lines
734 B
YAML
---
|
|
# For HTTPS apt
|
|
- name: Install HTTPS apt
|
|
apt:
|
|
update_cache: true
|
|
name: apt-transport-https
|
|
state: present
|
|
register: apt_result
|
|
retries: 3
|
|
until: apt_result is succeeded
|
|
|
|
- name: Configure the apt key
|
|
apt_key:
|
|
url: https://dl.yarnpkg.com/debian/pubkey.gpg
|
|
id: 1646B01B86E50310
|
|
state: present
|
|
register: apt_key_result
|
|
retries: 3
|
|
until: apt_key_result is succeeded
|
|
|
|
- name: Configure Yarn repository
|
|
apt_repository:
|
|
repo: deb https://dl.yarnpkg.com/debian/ stable main
|
|
state: present
|
|
|
|
# Install CodiMD dependencies
|
|
- name: Install required packages
|
|
apt:
|
|
update_cache: true
|
|
name: yarn
|
|
state: present
|
|
register: apt_result
|
|
retries: 3
|
|
until: apt_result is succeeded
|