Delete install_docker.yaml

This commit is contained in:
David Rotermund 2024-07-13 04:07:34 +02:00 committed by GitHub
parent 84fade0fd8
commit 4abdec7a8f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,31 +0,0 @@
---
- name: install docker as systemd plus add a protainer web
hosts: all
become: true
tasks:
- name: remove other files
include_tasks: yaml_sub/install_docker.yaml
- name: Create a volume
community.docker.docker_volume:
name: portainer_data
state: present
- name: Create portainer container
community.docker.docker_container:
name: portainerweb
image: portainer/portainer-ce
state: started
recreate: yes
restart_policy: always
published_ports:
- "8000:8000/tcp"
- "9443:9443/tcp"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- portainer_data:/data