Commit 82f40ecb authored by viscapi's avatar viscapi
Browse files

Using postgresql_version variable in task's name

parent c1710517
......@@ -14,7 +14,7 @@
line: 'Environment=PGDATA={{path_to_icat}}'
when: (ansible_facts['distribution'] == "CentOS" and ansible_facts['distribution_major_version'] == "8")
- name: Start postgresql-9.6 service on CentOS 7
- name: Start postgresql-{{ postgresql_version }} service on CentOS 7
systemd:
name: postgresql-{{ 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