mariadb.yml aktualisiert
This commit is contained in:
parent
9127834c0d
commit
1492031e1e
18
mariadb.yml
18
mariadb.yml
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user