add dependency structure

This commit is contained in:
Pim Kunis 2022-12-20 17:20:36 +01:00
parent 7e7ce2bd40
commit 5d1b066d98
18 changed files with 44 additions and 35 deletions

View file

@ -8,9 +8,12 @@
become: true
apt_repository:
repo: "deb [signed-by=/etc/apt/keyrings/neovim.gpg] https://ppa.launchpadcontent.net/neovim-ppa/stable/ubuntu {{ ansible_distribution_release }} main"
state: present
register: apt_repository
- name: Update APT cache
apt:
update_cache: true
when: apt_repository.changed
- name: Install Neovim
become: true
apt:
name: neovim
state: present