fix delegation

This commit is contained in:
Robert Kaussow 2018-12-14 00:28:30 +01:00
parent be251d2c6d
commit 7a9c94b4e2
1 changed files with 1 additions and 1 deletions

View File

@ -47,5 +47,5 @@
state: "{{ droneci_postgres_user.state | default('present') }}"
no_log: True
when: droneci_postgres_user is defined
delegate_to: "{{ droneci_postgres_server }}"
delegate_to: "{{ droneci_postgres_server | urlsplit('port') }}"
when: droneci_postgres_enabled