Skip to content

Commit

Permalink
Molecule: Add update_pgcluster.yml to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vitabaks committed Sep 28, 2023
1 parent 5a83744 commit eb162e5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions molecule/default/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@
- not (ansible_distribution == 'Ubuntu' and ansible_distribution_version is version('20.04', '<'))
- not (ansible_distribution == 'Debian' and ansible_distribution_version is version('11', '>')) # TODO Debian 12

- name: Set variables for Patroni update test
ansible.builtin.set_fact:
target: system # includes updates to Postgres, Patroni, and all system packages

- name: Clean yum cache (molecule containers)
ansible.builtin.command: yum clean all
when:
Expand Down Expand Up @@ -76,3 +80,6 @@

- name: Config PostgreSQL Cluster test
ansible.builtin.import_playbook: ../../config_pgcluster.yml

- name: Update PostgreSQL Cluster test
ansible.builtin.import_playbook: ../../update_pgcluster.yml

0 comments on commit eb162e5

Please sign in to comment.