added mint to ubuntu repos recognized
This commit is contained in:
parent
77f4f1c8ad
commit
4b6960dbf7
|
@ -18,7 +18,7 @@
|
|||
- containerd
|
||||
- runc
|
||||
state: absent
|
||||
when: ansible_distribution == "Ubuntu" or ansible_distribution == "Pop!_OS"
|
||||
when: ansible_distribution == "Ubuntu" or ansible_distribution == "Pop!_OS" or ansible_distribution == "Linux Mint"
|
||||
|
||||
############################################################
|
||||
- name: Ensure old docker packages are removed (CentOS)
|
||||
|
@ -47,7 +47,7 @@
|
|||
- gnupg-agent
|
||||
- software-properties-common
|
||||
state: present
|
||||
when: ansible_distribution == "Ubuntu" or ansible_distribution == "Pop!_OS"
|
||||
when: ansible_distribution == "Ubuntu" or ansible_distribution == "Pop!_OS" or ansible_distribution == "Linux Mint"
|
||||
|
||||
############################################################
|
||||
- name: Ensure required supporting packages are installed (CentOS)
|
||||
|
@ -64,7 +64,7 @@
|
|||
/usr/bin/curl -fsSL
|
||||
https://download.docker.com/linux/ubuntu/gpg
|
||||
| /usr/bin/apt-key add -
|
||||
when: ansible_distribution == "Ubuntu" or ansible_distribution == "Pop!_OS"
|
||||
when: ansible_distribution == "Ubuntu" or ansible_distribution == "Pop!_OS" or ansible_distribution == "Linux Mint"
|
||||
|
||||
############################################################
|
||||
- name: Add the stable docker repository (Ubuntu)
|
||||
|
@ -74,7 +74,7 @@
|
|||
"deb https://download.docker.com/linux/ubuntu
|
||||
{{ ansible_distribution_release }}
|
||||
stable"
|
||||
when: ansible_distribution == "Ubuntu" or ansible_distribution == "Pop!_OS"
|
||||
when: ansible_distribution == "Ubuntu" or ansible_distribution == "Pop!_OS" or ansible_distribution == "Linux Mint"
|
||||
|
||||
############################################################
|
||||
- name: Add the stable docker repository (CentOS)
|
||||
|
@ -89,7 +89,7 @@
|
|||
- name: Update package cache (Ubuntu)
|
||||
apt:
|
||||
update-cache: true
|
||||
when: ansible_distribution == "Ubuntu" or ansible_distribution == "Pop!_OS"
|
||||
when: ansible_distribution == "Ubuntu" or ansible_distribution == "Pop!_OS" or ansible_distribution == "Linux Mint"
|
||||
|
||||
############################################################
|
||||
- name: Install docker packages (Ubuntu)
|
||||
|
@ -99,7 +99,7 @@
|
|||
- docker-ce-cli
|
||||
- containerd.io
|
||||
state: present
|
||||
when: ansible_distribution == "Ubuntu" or ansible_distribution == "Pop!_OS"
|
||||
when: ansible_distribution == "Ubuntu" or ansible_distribution == "Pop!_OS" or ansible_distribution == "Linux Mint"
|
||||
|
||||
############################################################
|
||||
- name: Install docker packages (CentOS)
|
||||
|
|
Loading…
Reference in New Issue