Add tasks for platform-specific operations
This commit is contained in:
8
tasks/fedora/networkd.yml
Normal file
8
tasks/fedora/networkd.yml
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
- name: Install systemd-networkd
|
||||
become: true
|
||||
dnf:
|
||||
state: latest
|
||||
name:
|
||||
- systemd-resolved
|
||||
- systemd-networkd
|
12
tasks/fedora/packages.yml
Normal file
12
tasks/fedora/packages.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
- name: Load package variables
|
||||
include_vars:
|
||||
file: packages.yml
|
||||
|
||||
- name: Install global packages using DNF
|
||||
become: true
|
||||
dnf:
|
||||
state: latest
|
||||
name: "{{ item }}"
|
||||
with_items:
|
||||
- "{{ packages_global }}"
|
||||
- "{{ packages_dnf }}"
|
Reference in New Issue
Block a user