feat: a lots of stuff and bugfixes mostly
This commit is contained in:
parent
0289360eb6
commit
a13235a7db
14 changed files with 468 additions and 62 deletions
|
|
@ -1,16 +1,23 @@
|
|||
---
|
||||
- name: Create portainer paths
|
||||
ansible.builtin.file:
|
||||
path: "/live/instances/portainer"
|
||||
state: directory
|
||||
mode: '0755'
|
||||
# ---
|
||||
|
||||
- name: create docker compose portainer file
|
||||
ansible.builtin.template:
|
||||
src: templates/docker-compose.portainer.j2
|
||||
dest: /live/storage/portainer/docker-compose.yml
|
||||
# - name: Create portainer instance
|
||||
# ansible.builtin.file:
|
||||
# path: "{{ cuyper__portainer_instance_path }}"
|
||||
# state: directory
|
||||
# mode: '0755'
|
||||
|
||||
- name: Start portainer docker-compose
|
||||
community.docker.docker_compose_v2:
|
||||
project_src: "/live/instances/portainer"
|
||||
state: present
|
||||
# - name: Create portainer storage path
|
||||
# ansible.builtin.file:
|
||||
# path: "{{ cuyper__portainer_storage_path }}"
|
||||
# state: directory
|
||||
# mode: '0755'
|
||||
|
||||
# - name: create docker compose portainer file
|
||||
# ansible.builtin.template:
|
||||
# src: templates/docker-compose.portainer.j2
|
||||
# dest: "{{cuyper__portainer_instance_path}}/docker-compose.yml"
|
||||
|
||||
# - name: Start portainer docker-compose
|
||||
# community.docker.docker_compose_v2:
|
||||
# project_src: "/live/instances/portainer"
|
||||
# state: present
|
||||
Loading…
Add table
Add a link
Reference in a new issue