Skip to content
Snippets Groups Projects
Commit ee1da9b5 authored by Emmanuel Cohen's avatar Emmanuel Cohen
Browse files

Set default value if postgres group is empty

parent 53b4af9f
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@
changed_when: "'es_pyinstall' in python_install.stdout_lines"
raw: command -v python3 || echo es_pyinstall && apt update && apt install -y python3-minimal python3-apt
tags: always
- import_playbook: "playbooks/{{ 'postgres-ha' if groups['postgres'] | length > 1 else 'postgres' }}.yml"
- import_playbook: "playbooks/{{ 'postgres-ha' if groups['postgres']|d('') | length > 1 else 'postgres' }}.yml"
tags: postgres
- import_playbook: playbooks/msmonitor.yml
tags: monitor
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment