fix delegation

This commit is contained in:
Robert Kaussow 2018-12-14 00:28:30 +01:00
parent be251d2c6d
commit 7a9c94b4e2

View File

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