first pass at basic AL2022 support

This commit is contained in:
Lee Goolsbee
2022-12-13 09:32:19 -06:00
parent 1124f1ac5a
commit 13cd669a54
16 changed files with 99 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
---
- name: Install Amazon-Linux-specific NFS packages
- name: Install Amazon-Linux-2-specific NFS packages
ansible.builtin.yum:
name:
- nfs-utils

View File

@@ -0,0 +1,6 @@
---
- name: Install Amazon-Linux-2022-specific NFS packages
ansible.builtin.dnf:
name:
- nfs-utils

View File

@@ -1,7 +1,7 @@
---
- name: Install distro-specific NFS packages
ansible.builtin.include_tasks: "{{ ansible_distribution|lower }}.yml"
ansible.builtin.include_tasks: "{{ ansible_distribution | lower }}-{{ ansible_distribution_version }}.yml"
- name: Create mountpoint