| --- |
| # strongswan molecule/default/verify.yml |
| # |
| # SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org> |
| # SPDX-License-Identifier: Apache-2.0 |
| |
| - name: Converge |
| hosts: all |
| vars: |
| strongswan_conf_connections: |
| - name: tunnel1 |
| psk: secret |
| vti: |
| local: 169.254.0.2/30 |
| remote: 169.254.0.1/30 |
| left: 10.0.0.3 |
| leftid: 10.0.0.3 |
| left_subnets: 0.0.0.0/0 |
| right: 172.16.0.3 |
| rightid: 172.16.0.3 |
| right_subnets: 0.0.0.0/0 |
| - name: tunnel2 |
| psk: secret |
| vti: |
| local: 169.254.0.6/30 |
| remote: 169.254.0.5/30 |
| left: 10.0.0.3 |
| leftid: 10.0.0.3 |
| left_subnets: 0.0.0.0/0 |
| right: 172.16.0.4 |
| rightid: 172.16.0.3 |
| right_subnets: 0.0.0.0/0 |
| tasks: |
| - name: "Include strongswan" |
| include_role: |
| name: "strongswan" |