Skip to content

Commit 667d31b

Browse files
author
Christopher M. Neill
committed
only when {{ name }} is defined
1 parent 45092ca commit 667d31b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ansible/roles/loggly/tasks/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858

5959
- name: copy rotate util script
6060
tags: loggly
61+
when: name is defined
6162
become: true
6263
template:
6364
src=rotate-logs.sh.j2

0 commit comments

Comments
 (0)