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
parent 114d98cd7c
commit 1c5eb3fc64
7 changed files with 7 additions and 6 deletions

View file

@ -1,3 +1,4 @@
distribution_release: jammy
first_name: Pim
last_name: Kunis
full_name: "{{ first_name }} {{ last_name }}"

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

View file

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

View file

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

View file

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

View file

@ -40,7 +40,7 @@
- name: Install Hashicorp repository
become: true
apt_repository:
repo: "deb [signed-by=/etc/apt/keyrings/hashicorp.gpg] https://apt.releases.hashicorp.com {{ ansible_distribution_release }} main"
repo: "deb [signed-by=/etc/apt/keyrings/hashicorp.gpg] https://apt.releases.hashicorp.com {{ distribution_release }} main"
register: apt_repository
- name: Update APT cache
become: true

View file

@ -7,7 +7,7 @@
- name: Install VirtualBox APT repository
become: true
apt_repository:
repo: "deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/oracle_vbox_2016.asc] https://download.virtualbox.org/virtualbox/debian {{ ansible_distribution_release }} contrib"
repo: "deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/oracle_vbox_2016.asc] https://download.virtualbox.org/virtualbox/debian {{ distribution_release }} contrib"
register: apt_repository
tags: update
- name: Update APT cache