From f7b27f34c36572d8a3af29010cb810cbefd6f47e Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Thu, 16 Feb 2023 22:10:21 +0000 Subject: [PATCH] Download podman shortnames.conf --- roles/debian/tasks/main.yml | 1 + roles/debian/tasks/podman.yml | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 roles/debian/tasks/podman.yml diff --git a/roles/debian/tasks/main.yml b/roles/debian/tasks/main.yml index 4e0eedb..7d6af1e 100644 --- a/roles/debian/tasks/main.yml +++ b/roles/debian/tasks/main.yml @@ -32,3 +32,4 @@ - import_tasks: gdm.yml - import_tasks: xkb-lv5.yml when: gui == true +- import_tasks: podman.yml diff --git a/roles/debian/tasks/podman.yml b/roles/debian/tasks/podman.yml new file mode 100644 index 0000000..ff759f3 --- /dev/null +++ b/roles/debian/tasks/podman.yml @@ -0,0 +1,21 @@ +--- +# Copyright 2021-2023 Anthony Perkins +# +# 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. + +- name: Download Podman shortnames.conf + become: true + ansible.builtin.get_url: + url: https://raw.githubusercontent.com/containers/shortnames/main/shortnames.conf + dest: /etc/containers/registries.conf.d/shortnames.conf + mode: '0644'