Hyunsun Moon | a5c3f64 | 2020-11-11 02:53:03 -0800 | [diff] [blame] | 1 | --- |
| 2 | # strongswan tasks/Debian.yml |
| 3 | # |
| 4 | # SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org> |
| 5 | # SPDX-License-Identifier: Apache-2.0 |
| 6 | |
| 7 | - name: Install strongSwan package (Debian) |
| 8 | apt: |
| 9 | name: "{{ strongswan_package }}" |
| 10 | state: "present" |
| 11 | update_cache: true |
Hyunsun Moon | a5c3f64 | 2020-11-11 02:53:03 -0800 | [diff] [blame] | 12 | notify: |
| 13 | - start-strongswan |
| 14 | |
| 15 | - name: Enable strongSwan Service |
| 16 | service: |
| 17 | name: "{{ strongswan_service }}" |
| 18 | enabled: true |