Skip to content

Commit

Permalink
chore(molecule): postgreql update os_family condition
Browse files Browse the repository at this point in the history
  • Loading branch information
adf-patrickha committed May 6, 2024
1 parent d01fe70 commit 5aca7ef
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions molecule/postgresql/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit 5aca7ef

Please sign in to comment.