portainer: add main task

This commit is contained in:
Lukáš Kucharczyk 2021-06-20 22:29:11 +02:00
parent 7a17b16980
commit 6702afc8f7
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