new distro

This commit is contained in:
2024-11-29 22:15:25 +01:00
parent ee0f2a22a6
commit a43af5abcc
12 changed files with 15 additions and 14 deletions

View File

@@ -11,7 +11,7 @@
- name: pre-run | update apt repository (debian, ubuntu, etc.)
apt: update_cache=yes
changed_when: false
when: ansible_distribution in ["Debian", "Ubuntu"]
when: ansible_distribution in ["Debian", "Ubuntu", "Linux Mint"]
- name: pre-run | update pacman repository (arch)
pacman: update_cache=yes
changed_when: false
@@ -27,7 +27,7 @@
- name: pre-run | upgrade system (debian, ubuntu, etc.)
apt: upgrade=dist
changed_when: false
when: ansible_distribution in ["Debian", "Ubuntu"]
when: ansible_distribution in ["Debian", "Ubuntu", "Linux Mint"]
# run roles
- hosts: all
@@ -135,14 +135,14 @@
apt:
autoclean: yes
changed_when: false
when: ansible_distribution in ["Debian", "Pop!_OS", "Ubuntu"]
when: ansible_distribution in ["Debian", "Pop!_OS", "Ubuntu", "Linux Mint"]
- name: autoremove orphan packages (debian and ubuntu)
tags: always
apt:
autoremove: yes
purge: yes
when: ansible_distribution in ["Debian", "Pop!_OS", "Ubuntu"]
when: ansible_distribution in ["Debian", "Pop!_OS", "Ubuntu", "Linux Mint"]
# - name: send completion alert
# include_tasks: playbooks/send_completion_alert.yml