Skip to content
This repository was archived by the owner on Oct 15, 2020. It is now read-only.

Commit 5486a83

Browse files
duck-rhmscherer
authored andcommitted
setup cron error email
1 parent 4c307b3 commit 5486a83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tasks/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
set_fact:
102102
remote_user: "{{ rsync_user }}"
103103
remote_host: "{{ rsync_server }}"
104-
when: rsync_url
104+
when: rsync_url != ''
105105

106106
- name: Compute SSH config for openshift sync
107107
block:
@@ -117,7 +117,7 @@
117117
# seen pattern: <user>@<host> or ssh://<user>@<host>/<path>
118118
remote_user: "{{ site.openshift | regex_replace('^.*?([^/]+)@.*$', '\\1') }}"
119119
remote_host: "{{ site.openshift | regex_replace('^.*@([^/]+).*$', '\\1') }}"
120-
when: not rsync_url
120+
when: rsync_url == ''
121121

122122
- name: Create SSH config
123123
blockinfile:

0 commit comments

Comments
 (0)