From 061cca81b53be8e20ea633ee2202eb7aeb83e4a6 Mon Sep 17 00:00:00 2001 From: Sagi Dayan Date: Sat, 30 Oct 2021 11:09:47 +0300 Subject: [PATCH] Moved podman to install only on RH based systems --- playbooks/roles/base/tasks/main.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/playbooks/roles/base/tasks/main.yml b/playbooks/roles/base/tasks/main.yml index f14faeb..247c544 100644 --- a/playbooks/roles/base/tasks/main.yml +++ b/playbooks/roles/base/tasks/main.yml @@ -6,10 +6,16 @@ - bat - wget - git - - podman - flatpak state: present +- name: Some more packages (RedHat based) + become: true + package: + name: + - podman + when: ansible_facts['os_family'] == "RedHat" + - name: Copy gitconfig base copy: src: dotfiles/gitconfig