Add support for deleting unmanaged tailscale serve HTTP instances #20
lint.yml
on: pull_request
Ansible Lint
52s
Jinja2 Lint
17s
Annotations
1 error and 2 warnings
jinja[invalid]:
tasks/serve.yml#L8
You need to install jmespath prior to running json_query filter
|
jinja[spacing]:
tasks/serve.yml#L12
Jinja2 spacing could be improved: {% if HTTP in _tailscale_serve_state.TCP[_port] -%} http {%- elif HTTPS in _tailscale_serve_state.TCP[_port] -%} https {%- endif %} -> {% if HTTP in _tailscale_serve_state.TCP[_port] -%} http{%- elif HTTPS in _tailscale_serve_state.TCP[_port] -%} https{%- endif %}
|
jinja[spacing]:
tasks/serve.yml#L50
Jinja2 spacing could be improved: {% if HTTP in _tailscale_serve_state.TCP[item] -%} http {%- elif HTTPS in _tailscale_serve_state.TCP[item] -%} https {%- elif TerminateTLS in _tailscale_serve_state.TCP[item] -%} tls-terminated-tcp {%- else -%} tcp {%- endif %} -> {% if HTTP in _tailscale_serve_state.TCP[item] -%} http{%- elif HTTPS in _tailscale_serve_state.TCP[item] -%} https{%- elif TerminateTLS in _tailscale_serve_state.TCP[item] -%} tls-terminated-tcp{%- else -%} tcp{%- endif %}
|