Skip to content

Tor ternary fix

Kevin Poorman requested to merge (removed):TorTernaryFix into master

According to #Ansible on Freenode, this syntax:

 tor_domain: "{{ tor_http_domain_file.stdout if tor_http_domain is defined else '' }}"

fails on some versions (os?) of ansible, because it will attempt to resolve tor_http_domain_file.stdout before checking if tor_http_domain is defined, which results in an error if Tor is off.

    tor_domain: "{{ tor_http_domain_file.stdout | default('') }}"

the new syntax has been applied to all services.

Merge request reports