mariadb.yml aktualisiert
This commit is contained in:
parent
2555bc402e
commit
9ffb8ceb2c
27
mariadb.yml
27
mariadb.yml
@ -104,6 +104,7 @@
|
||||
group: docker
|
||||
marker: "# {mark} ANSIBLE MANAGED BLOCK"
|
||||
block: |
|
||||
[mariadbd]
|
||||
ssl=1
|
||||
ssl-ca=/etc/mysql/ca-cert.pem
|
||||
ssl-cert=/etc/mysql/server-cert.pem
|
||||
@ -222,21 +223,21 @@
|
||||
|
||||
handlers:
|
||||
|
||||
- name: run genpw.sh
|
||||
ansible.builtin.shell: ./genpw.sh
|
||||
args:
|
||||
chdir: /home/docker/mariadb.{{inventory_hostname}}
|
||||
notify: Restart mariadb
|
||||
|
||||
- name: run genssl.sh
|
||||
ansible.builtin.shell: ./genssl.sh
|
||||
args:
|
||||
chdir: /home/docker/mariadb.{{inventory_hostname}}
|
||||
notify: Restart mariadb
|
||||
#- name: run genpw.sh
|
||||
# ansible.builtin.shell: ./genpw.sh
|
||||
# args:
|
||||
# chdir: /home/docker/mariadb.{{inventory_hostname}}
|
||||
# notify: Restart mariadb
|
||||
#
|
||||
# - name: run genssl.sh
|
||||
# ansible.builtin.shell: ./genssl.sh
|
||||
# args:
|
||||
# chdir: /home/docker/mariadb.{{inventory_hostname}}
|
||||
# notify: Restart mariadb
|
||||
|
||||
|
||||
- name: run mariadb.init
|
||||
ansible.builtin.shell: bash /home/docker/mariadb.{{inventory_hostname}}/mariadb.init.sh
|
||||
#- name: run mariadb.init
|
||||
# ansible.builtin.shell: bash /home/docker/mariadb.{{inventory_hostname}}/mariadb.init.sh
|
||||
|
||||
- name: Restart mariadb
|
||||
ansible.builtin.shell: docker-compose up -d --force-recreate
|
||||
|
Loading…
Reference in New Issue
Block a user