From 71ecf3b13e1b31895c4b6d30dc85b13020afc99b Mon Sep 17 00:00:00 2001 From: Gene Oden Date: Sun, 10 Dec 2023 15:05:31 -0800 Subject: [PATCH] Add support for the ArchLinux distribution Change-Id: I352e049be2c98fddef01184282842946d937b27b --- tasks/main.yml | 1 + vars/archlinux.yml | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 vars/archlinux.yml diff --git a/tasks/main.yml b/tasks/main.yml index a109255..0fd5aff 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -25,6 +25,7 @@ - "{{ ansible_facts['os_family'] | lower }}.yml" paths: - "{{ role_path }}/vars" + skip: true # skip if no files are found tags: - always diff --git a/vars/archlinux.yml b/vars/archlinux.yml new file mode 100644 index 0000000..2921bd8 --- /dev/null +++ b/vars/archlinux.yml @@ -0,0 +1,18 @@ +--- +# Copyright 2023, Gene Oden +# +# 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_resolved_available: true + +_systemd_networkd_update_initramfs: "/usr/bin/mkinitcpio -P"