29 lines
634 B
YAML
29 lines
634 B
YAML
---
|
|
|
|
- name: Ensure komodo directory exists
|
|
ansible.builtin.file:
|
|
path: /opt/komodo
|
|
state: directory
|
|
mode: "0755"
|
|
|
|
- name: Get docker compose file
|
|
ansible.builtin.get_url:
|
|
url: komodo https://raw.githubusercontent.com/moghtech/komodo/main/compose/ferretdb.compose.yaml
|
|
dest: /opt/komodo
|
|
mode: "0755"
|
|
|
|
- name: Get .env file
|
|
ansible.builtin.get_url:
|
|
url: https://raw.githubusercontent.com/moghtech/komodo/main/compose/compose.env
|
|
dest: /opt/komodo
|
|
mode: "0755"
|
|
|
|
# we need to use lineinfile to set the following
|
|
- name: set config
|
|
ansible.builtin.lineinfile:
|
|
|
|
|
|
|
|
- name: Run Komodo core
|
|
|
|
|