Files
ansible-role-systemd_networkd/vars/redhat-9.yml
Dmitriy Rabotyagov 3c5f9b223b Add EL10 support to the role
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/951132
Change-Id: I60df6bda2f30c0d1866640b15089c3fc2ebab75a
2025-06-02 08:48:38 +00:00

42 lines
1.5 KiB
YAML

---
# Copyright 2020, VEXXHOST Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
_systemd_networkd_distro_packages:
- dbus # Needed for networkctl
- systemd-networkd
- "{{ systemd_resolved_available | ternary('systemd-resolved', '') }}"
- systemd-udev # Needed for networkd to bring interfaces up
_systemd_resolved_available: false
_systemd_networkd_update_initramfs: "dracut -f"
systemd_networkd_repos:
- name: epel-networkd
baseurl: "{{ systemd_networkd_epel_mirror ~ '/' ~ ansible_facts['distribution_major_version'] ~ '/Everything/' ~ ansible_facts['architecture'] }}"
description: "Extra Packages for Enterprise Linux $releasever - $basearch"
gpgkey: "file://{{ systemd_networkd_package_repos_keys[0].key }}"
gpgcheck: true
enabled: true
state: present
includepkgs: "systemd-networkd"
systemd_networkd_enablerepo: epel
systemd_networkd_package_repos_keys:
- name: epel-9
key: /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-9
keyfile: gpg/3228467C