mariadb.yml aktualisiert

This commit is contained in:
olli 2024-05-26 23:45:59 +02:00
parent 9127834c0d
commit 1492031e1e

View File

@ -183,15 +183,15 @@
backup: yes
notify: Restart mariadb
- name: Start mariadb
ansible.builtin.shell: docker-compose up -d
args:
chdir: /home/docker/mariadb.{{inventory_hostname}}
creates: /home/docker/mariadb.{{inventory_hostname}}/db-data/ibdata1
- name: Wait until mariadb install is finished
wait_for:
path: /home/docker/mariadb.{{inventory_hostname}}/db-data/ibdata1
# - name: Start mariadb
# ansible.builtin.shell: docker-compose up -d
# args:
# chdir: /home/docker/mariadb.{{inventory_hostname}}
# creates: /home/docker/mariadb.{{inventory_hostname}}/db-data/ibdata1
#
# - name: Wait until mariadb install is finished
# wait_for:
# path: /home/docker/mariadb.{{inventory_hostname}}/db-data/ibdata1
handlers: