container: add molecule tests

This commit is contained in:
uumas
2023-07-19 10:11:49 +03:00
parent f99fbc0483
commit 9a4c7c9440
3 changed files with 116 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
---
- name: Converge
hosts: all
tasks:
- name: Nginx container
import_role:
name: container
vars:
docker_service: nginx
docker_image: nginx
docker_image_http_port: 80
admin_email: test@example.com
ports:
nginx:
http: 28001
docker_vhost_domains:
nginx:
- localhost