Restructure repository, removing old stuff
This commit is contained in:
@@ -2,13 +2,20 @@
|
||||
- import_tasks: centos-8-dracut.yml
|
||||
when: ansible_distribution == "CentOS" and ansible_distribution_major_version == "8"
|
||||
|
||||
# Gotta hate this, but I have to hardcode the systemd exclusion on cent8
|
||||
# Because I'm using "janky-systemd-networkd-2-the-jankening" (see the networkd role)
|
||||
# there are a pile of conflicts when you run "dnf update" with it installed. I found
|
||||
# two options that work: 1) uninstall systemd-networkd, update, then reinstall it;
|
||||
# 2) hardcode the exclusion here. Whenever I thought too hard about the potential
|
||||
# consequences of instituting uninstalling-my-network-init-system-as-a-service I
|
||||
# started to get a migaine, so I went with option two.
|
||||
- name: Upgrade Fedora and CentOS 8 packages
|
||||
when: (ansible_distribution == "CentOS" and ansible_distribution_major_version == "8") or ansible_distribution == "Fedora"
|
||||
when: ansible_distribution == "CentOS" and ansible_distribution_major_version == "8"
|
||||
become: true
|
||||
dnf:
|
||||
state: latest
|
||||
name: "*"
|
||||
exclude: "{{ ','.join(exclude | default(['kernel*'])) }}"
|
||||
exclude: "{{ ','.join(omni_pkg_exclude + ['systemd*']) }}"
|
||||
|
||||
- name: Upgrade CentOS 7 packages
|
||||
when: ansible_distribution == "CentOS" and ansible_distribution_major_version == "7"
|
||||
@@ -16,7 +23,15 @@
|
||||
yum:
|
||||
state: latest
|
||||
name: "*"
|
||||
exclude: "{{ ','.join(exclude | default(['kernel*'])) }}"
|
||||
exclude: "{{ ','.join(omni_pkg_exclude) }}"
|
||||
|
||||
- name: Upgrade Fedora packages
|
||||
when: ansible_distribution == "Fedora"
|
||||
become: true
|
||||
dnf:
|
||||
state: latest
|
||||
name: "*"
|
||||
exclude: "{{ ','.join(omni_pkg_exclude) }}"
|
||||
|
||||
# Yeah I'll get here eventually
|
||||
# - name: Upgrade APT packages
|
||||
|
||||
Reference in New Issue
Block a user