Wei-Yu Chen | 6509d74 | 2021-07-29 21:14:51 +0800 | [diff] [blame^] | 1 | --- |
| 2 | # netprep molecule/default/prepare.yml |
| 3 | # |
| 4 | # SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org> |
| 5 | # SPDX-License-Identifier: Apache-2.0 |
| 6 | - name: Prepare |
| 7 | hosts: all |
| 8 | become: true |
| 9 | vars: |
| 10 | acme_username: "www-data" |
| 11 | vhosts: |
| 12 | - name: "port8080.example.com" |
| 13 | insecure_port: 8080 |
| 14 | - name: "port8081.example.com" |
| 15 | insecure_port: 8081 |
| 16 | pre_tasks: |
| 17 | - name: Install testing related packages |
| 18 | apt: |
| 19 | name: |
| 20 | - netplan.io |
| 21 | - udev |
| 22 | - python3-pip |
| 23 | update_cache: true |
| 24 | - name: Install Docker SDK for Python |
| 25 | pip: |
| 26 | name: docker |
| 27 | roles: |
| 28 | - docker |
| 29 | - nginx |