dotfiles/roles/vim-plug/tasks/depend/redhat.yml

35 lines
748 B
YAML

---
- name: (rHa) installing plugin dependencies
ansible.builtin.yum:
name:
- nodejs
- npm
state: present
update_cache: true
become: true
# Yarn is available in other repository.
- name: (rHa) installing yarn repo
ansible.builtin.get_url:
url: "https://dl.yarnpkg.com/rpm/yarn.repo"
dest: /etc/yum.repos.d/yarn.repo
become: true
notify: repolist
- name: (rHa) installing yarn gpg key
ansible.builtin.rpm_key:
key: "http://dl.yarnpkg.com/rpm/pubkey.gpg"
state: present
become: true
notify: repolist
- name: Flushing handlers
ansible.builtin.meta: flush_handlers
- name: (rHa) installing yarn
ansible.builtin.yum:
name: yarn
state: present
update_cache: true
become: true