Only install clangd-12 on Ubuntu 20.04

This commit is contained in:
Kenneth Benzie 2021-11-19 22:25:51 +00:00
parent 8ffdfd41cd
commit 49051cff43

View File

@ -17,7 +17,8 @@
- yamllint - yamllint
- name: (neo)vim install apt packages - name: (neo)vim install apt packages
when: ansible_os_family == "Debian" when: ansible_distribution == 'Ubuntu' and
ansible_distribution_release == '20.04'
become: true become: true
apt: apt:
name: '{{item}}' name: '{{item}}'
@ -26,7 +27,8 @@
- clangd-12 - clangd-12
- name: (neo)vim install clangd alternative - name: (neo)vim install clangd alternative
when: ansible_os_family == "Debian" when: ansible_distribution == 'Ubuntu' and
ansible_distribution_release == '20.04'
become: true become: true
alternatives: alternatives:
name: clangd name: clangd