| --- |
| # netprep molecule/default/prepare.yml |
| # |
| # SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org> |
| # SPDX-License-Identifier: Apache-2.0 |
| - name: Prepare |
| hosts: all |
| become: true |
| vars: |
| acme_username: "www-data" |
| vhosts: |
| - name: "port8080.example.com" |
| insecure_port: 8080 |
| - name: "port8081.example.com" |
| insecure_port: 8081 |
| pre_tasks: |
| - name: Install testing related packages |
| apt: |
| name: |
| - netplan.io |
| - udev |
| - python3-pip |
| update_cache: true |
| - name: Install Docker SDK for Python |
| pip: |
| name: docker |
| roles: |
| - docker |
| - nginx |