Commit a5d16129 authored by Louis VINCHON's avatar Louis VINCHON
Browse files

Fix task label

The issue:
The 'postgresql_version' variable is only collected for Ubuntu 18 platforms.
This caused the label of the task to bug out and display weird information.

The solution:
Since it's only the label and we don't need to be 100% accurate, I used the
'external_postgresql_version' which is user-defined.
No more bugs. Nice label.
parent f435c097
......@@ -34,7 +34,7 @@
enabled: yes
when: (ansible_facts['distribution'] == "CentOS" and ansible_facts['distribution_major_version'] == "7" and use_distribution_postgresql)
- name: Start postgresql-{{ postgresql_version }} service on CentOS 7
- name: Start postgresql-{{ external_postgresql_version }} service on CentOS 7
name: postgresql-{{ external_postgresql_version }}
state: started
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment