Sha256: e107fc5655dbeea4090d89d01aec609839cb667b20828abfc23f58c6c155ed3f

Contents?: true

Size: 821 Bytes

Versions: 55

Compression:

Stored size: 821 Bytes

Contents

---

- name: "Yarn | GPG"
  become: yes
  become_user: root
  apt_key:
    url: https://dl.yarnpkg.com/debian/pubkey.gpg
    state: present

- name: "Yarn | Ensure Debian sources list file exists"
  become: yes
  become_user: root
  file:
    path: /etc/apt/sources.list.d/yarn.list
    owner: root
    mode: 0644
    state: touch

- name: "Yarn | Ensure Debian package is in sources list"
  become: yes
  become_user: root
  lineinfile:
    dest: /etc/apt/sources.list.d/yarn.list
    regexp: 'deb http://dl.yarnpkg.com/debian/ stable main'
    line: 'deb http://dl.yarnpkg.com/debian/ stable main'
    state: present

- name: "Yarn | Update APT cache"
  become: yes
  become_user: root
  apt:
    update_cache: yes

- name: "Yarn | Install"
  become: yes
  become_user: root
  package:
    name: yarn
    state: latest

Version data entries

55 entries across 55 versions & 1 rubygems

Version Path
subspace-3.0.12 ansible/roles/yarn/tasks/main.yml
subspace-3.0.11 ansible/roles/yarn/tasks/main.yml
subspace-3.0.10 ansible/roles/yarn/tasks/main.yml
subspace-3.0.9 ansible/roles/yarn/tasks/main.yml
subspace-3.0.6 ansible/roles/yarn/tasks/main.yml
subspace-3.0.5 ansible/roles/yarn/tasks/main.yml
subspace-3.0.4 ansible/roles/yarn/tasks/main.yml
subspace-3.0.3 ansible/roles/yarn/tasks/main.yml
subspace-3.0.2 ansible/roles/yarn/tasks/main.yml
subspace-3.0.0 ansible/roles/yarn/tasks/main.yml
subspace-2.5.10 ansible/roles/yarn/tasks/main.yml
subspace-3.0.0.rc1 ansible/roles/yarn/tasks/main.yml
subspace-2.5.9 ansible/roles/yarn/tasks/main.yml
subspace-2.5.8 ansible/roles/yarn/tasks/main.yml
subspace-2.5.7 ansible/roles/yarn/tasks/main.yml
subspace-2.5.6 ansible/roles/yarn/tasks/main.yml
subspace-2.5.5 ansible/roles/yarn/tasks/main.yml
subspace-2.5.4 ansible/roles/yarn/tasks/main.yml
subspace-2.5.3 ansible/roles/yarn/tasks/main.yml
subspace-2.5.2 ansible/roles/yarn/tasks/main.yml