Skip to content

Commit 9925f11

Browse files
authored
Merge pull request #16 from HegemanLab/include
replaced deprecated include with include_tasks
2 parents 0bb93c6 + e8c679a commit 9925f11

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tasks/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Convenient ordering - debian.yml sets postgresql_version if it is unset,
44
# which is needed by the include_vars files.
5-
- include: debian.yml
5+
- include_tasks: debian.yml
66
when: ansible_os_family == "Debian"
77

88
# For RedHat we use the value from defaults/main.yml
@@ -22,7 +22,7 @@
2222
when: postgresql_conf_dir is not defined
2323

2424
# Needs postgresql_pgdata_dir set
25-
- include: redhat.yml
25+
- include_tasks: redhat.yml
2626
when: ansible_os_family == "RedHat"
2727

2828
- name: Create conf.d
@@ -47,7 +47,7 @@
4747
template: src=pg_hba.conf.{{ ansible_os_family | lower }}.j2 dest={{ postgresql_conf_dir }}/pg_hba.conf owner={{ postgresql_user_name }} group={{ postgresql_user_name }} mode=0400 backup=yes
4848
notify: Reload PostgreSQL
4949

50-
- include: backup.yml
50+
- include_tasks: backup.yml
5151
when: postgresql_backup_dir is defined
5252

5353
- name: Ensure PostgreSQL is running

0 commit comments

Comments
 (0)