ansible/roles/codimd/tasks/0_apt_dependencies.yml
Hadrien Patte 5551fb5c16
Fix: remove unnecessary quotes
Signed-off-by: Hadrien Patte <hadrien.patte@protonmail.com>
2019-03-23 20:04:33 +01:00

30 lines
658 B
YAML

---
# For HTTPS apt
- name: Install HTTPS apt
apt:
name: apt-transport-https
update_cache: true
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
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
# Install CodiMD dependencies
- name: Install required packages
apt:
name: yarn
update_cache: true
register: apt_result
retries: 3
until: apt_result is succeeded