portainer: add main task

This commit is contained in:
Lukáš Kucharczyk 2021-06-20 22:29:11 +02:00
parent 7e7c28d68c
commit f2d80dbe15
No known key found for this signature in database
GPG Key ID: 65524498C0196B64
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
- name: run container
docker_container:
name: 'portainer'
image: portainer/portainer-ce
networks:
- name: bridge
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
ports:
- "8000:8000"
- "9000:9000"
state: started