Skip to content

Commit

Permalink
Merge pull request #101 from StackStorm/fix/postgresql-include
Browse files Browse the repository at this point in the history
Fix task include in postgresql role
  • Loading branch information
armab authored Jan 25, 2017
2 parents 5358dd4 + 895d405 commit e177f38
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions roles/postgresql/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
---
- name: Install PostgreSQL on {{ ansible_distribution }}-{{ ansible_distribution_major_version }}
include: roles/postgresql/tasks/postgresql_{{ ansible_pkg_mgr }}{{ ansible_distribution_major_version }}.yml
include: postgresql_{{ ansible_pkg_mgr }}{{ ansible_distribution_major_version }}.yml
tags: [db, postgresql]
when: ansible_os_family == "RedHat"

- name: Install PostgreSQL on {{ ansible_distribution }}-{{ ansible_distribution_major_version }}
include: roles/postgresql/tasks/postgresql_{{ ansible_pkg_mgr }}.yml
include: postgresql_{{ ansible_pkg_mgr }}.yml
tags: [db, postgresql]
when: ansible_os_family == "Debian"

0 comments on commit e177f38

Please sign in to comment.