From 5aca7efa989ed30ff13ec237e2f7d1594d9395d5 Mon Sep 17 00:00:00 2001 From: Patrick Hasler Date: Mon, 6 May 2024 13:17:59 +0200 Subject: [PATCH] chore(molecule): postgreql update os_family condition --- molecule/postgresql/prepare.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/molecule/postgresql/prepare.yml b/molecule/postgresql/prepare.yml index a1a8291..4152880 100644 --- a/molecule/postgresql/prepare.yml +++ b/molecule/postgresql/prepare.yml @@ -15,8 +15,7 @@ pre_tasks: - name: RPM Block when: - - ansible_facts.os_family == "RedHat" or - ansible_facts.os_family == "Fedora" + - ansible_facts.os_family == "RedHat" block: - name: Install locales ansible.builtin.package: @@ -31,8 +30,7 @@ - name: DEB Block when: - - ansible_facts.os_family == "Debian" or - ansible_facts.os_family == "Ubuntu" + - ansible_facts.os_family == "Debian" block: - name: Update Apt cache ansible.builtin.apt: