put distribution release as host variable to accomodate linux mint

This commit is contained in:
Pim Kunis 2023-02-20 22:31:36 +01:00 committed by Gitea
parent 65307e24fb
commit 6dc05a945c
7 changed files with 7 additions and 6 deletions

View file

@ -7,7 +7,7 @@
- name: Install PPA repository
become: true
apt_repository:
repo: "deb [signed-by=/etc/apt/keyrings/alacritty.gpg] https://ppa.launchpadcontent.net/aslatter/ppa/ubuntu {{ ansible_distribution_release }} main"
repo: "deb [signed-by=/etc/apt/keyrings/alacritty.gpg] https://ppa.launchpadcontent.net/aslatter/ppa/ubuntu {{ distribution_release }} main"
register: apt_repository
- name: Update APT cache
become: true