Add tasks for platform-specific operations

This commit is contained in:
Ethan N. Paul
2018-11-27 01:31:58 -05:00
parent 2901a1685d
commit dedefb1c1d
7 changed files with 122 additions and 0 deletions

View 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
View 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 }}"