19 lines
599 B
YAML
19 lines
599 B
YAML
- name: Download Neovim PPA signing key
|
|
become: true
|
|
ansible.builtin.apt_key:
|
|
keyserver: keyserver.ubuntu.com
|
|
id: 9DBB0BE9366964F134855E2255F96FCF8231B6DD
|
|
keyring: /etc/apt/keyrings/neovim.gpg
|
|
- name: Install Neovim PPA
|
|
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"
|
|
register: apt_repository
|
|
- name: Update APT cache
|
|
apt:
|
|
update_cache: true
|
|
when: apt_repository.changed
|
|
- name: Install Neovim
|
|
become: true
|
|
apt:
|
|
name: neovim
|