-
Notifications
You must be signed in to change notification settings - Fork 574
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/ANXS/postgresql into fix_…
…postgis_on_centos Conflicts: README.md defaults/main.yml tasks/configure.yml tasks/extensions/postgis.yml tests/docker/group_vars/all.yml tests/docker/group_vars/postgresql.yml tests/vars.yml vars/xenial.yml
- Loading branch information
Showing
13 changed files
with
1,458 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,4 @@ Icon | |
.Trashes | ||
.vagrant | ||
test | ||
*.retry |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,15 @@ | ||
# file: postgresql/handlers/main.yml | ||
|
||
- name: restart postgresql | ||
service: | ||
name: "{{ postgresql_service_name }}" | ||
state: restarted | ||
- name: restart postgresql with service | ||
service: | ||
name: "{{ postgresql_service_name }}" | ||
state: restarted | ||
enabled: yes | ||
|
||
- name: restart postgresql with systemd | ||
systemd: | ||
name: "{{ postgresql_service_name }}" | ||
state: restarted | ||
enabled: yes | ||
when: ansible_service_mgr == 'systemd' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.