- 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
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
- name: Install Neovim
apt:
name: neovim