fix delegation

This commit is contained in:
Robert Kaussow 2018-12-14 00:35:17 +01:00
parent 7a9c94b4e2
commit 1ca12fc5af

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 | urlsplit('port') }}" delegate_to: "{{ droneci_postgres_server | urlsplit('hostname') }}"
when: droneci_postgres_enabled when: droneci_postgres_enabled