robertdebock / ansible-role-rsyslog

Install and configure rsyslog on your system.
https://robertdebock.nl/
Apache License 2.0
36 stars 40 forks source link

'rsyslog_remote_template'' is undefined #46

Open juresaht2 opened 1 year ago

juresaht2 commented 1 year ago

Describe the bug

TASK [rsyslog : Configuring default rsyslog] ***********************************************************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ansible.errors.AnsibleUndefinedVariable: 'rsyslog_remote_template' is undefined
fatal: [myhost]: FAILED! => changed=false 
  msg: 'AnsibleUndefinedVariable: ''rsyslog_remote_template'' is undefined'

This seems to be related to the code intruduced in #30 . It checks if variables are true, rather than defined.

amilcarlucas commented 6 months ago

Any progress on this?