Skip to content

Commit

Permalink
Merge pull request #145 from jt-edb/efm_version_string
Browse files Browse the repository at this point in the history
efm_version to string type
  • Loading branch information
vibhorkumar123 authored Feb 5, 2021
2 parents 95736d6 + 30b68aa commit a110c91
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions roles/setup_efm/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,6 @@ supported_pg_version:
- 13

supported_efm_version:
- 4.1
- 4.0
- 3.10
- "4.1"
- "4.0"
- "3.10"
4 changes: 2 additions & 2 deletions roles/setup_efm/tasks/setup_efm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
fail:
msg: "efm version = {{ efm_version }} not supported.
Supported versions are {{ supported_efm_version }}"
when: efm_version not in supported_efm_version
when: efm_version | string not in supported_efm_version

- name: Gather service facts
service_facts:
Expand Down Expand Up @@ -144,7 +144,7 @@
tasks_from: pgpool2_install.yml
vars:
pgpool2_ssl: false
- import_tasks: efm_pgpool2_integration.yml
- include_tasks: efm_pgpool2_integration.yml
no_log: "{{ disable_logging }}"
become: yes
when:
Expand Down

0 comments on commit a110c91

Please sign in to comment.