ansible portainer and auto-update
This commit is contained in:
1 parent
632b1bdda7
commit
04ccdff78f
7 files changed
+82
-11
No files matched your search
@@ -0,0 +1,2 @@
|
||||
---
|
||||
- include_tasks: portainer.yml
|
||||
@@ -0,0 +1,14 @@
|
||||
- name: Portainer - Docker Container Setup
|
||||
become: true
|
||||
community.docker.docker_container:
|
||||
name: portainer
|
||||
image: portainer/portainer-ce
|
||||
state: started
|
||||
restart_policy: unless-stopped
|
||||
pull: yes
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- portainer:/data
|
||||
ports:
|
||||
- "9443:9443"
|
||||
- "8000:8000"
|
||||
Reference in new issue
Block a user