Skip to content

Commit

Permalink
more yamllint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
richm authored and badnetmask committed Aug 16, 2022
1 parent 790f5df commit 342ddda
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/tests_host_to_host_psk.yml
Expand Up @@ -24,12 +24,13 @@
{% for tunnel in vpn_connections %}
{% set _ = tunnel.__setitem__("auto", "start") %}
{% if __vpn_shared_key_content | d(false) %}
{% set _ = tunnel["hosts"].__setitem__("host01.local", __skc_dict) %}
{% set _ = tunnel["hosts"].__setitem__(__host, __dict) %}
{% endif %}
{% endfor %}
{{ vpn_connections }}
vars:
__skc_dict:
__host: host01.local
__dict:
shared_key_content: "{{ __vpn_shared_key_content }}"

- name: Use vpn role
Expand Down

0 comments on commit 342ddda

Please sign in to comment.