Sostituzione di prepare con un playbook che viene lanciato sulla macchina locale.
This commit is contained in:
parent
23343af106
commit
813cf57d54
78 changed files with 885 additions and 70 deletions
34
roles/vim-plug/tasks/depend/redhat.yml
Normal file
34
roles/vim-plug/tasks/depend/redhat.yml
Normal file
|
@ -0,0 +1,34 @@
|
|||
---
|
||||
- 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
|
Loading…
Add table
Add a link
Reference in a new issue