This commit is contained in:
Matte 2024-04-16 22:20:54 +03:00
parent d6c7629d75
commit d0b68b079d

View File

@ -75,18 +75,18 @@
tags: tags:
- mariadb - mariadb
- name: "Deployer - MariaDB - Upgrade" # - name: "Deployer - MariaDB - Upgrade"
containers.podman.podman_container_exec: # containers.podman.podman_container_exec:
container: "mariadb" # container: "mariadb"
command: "mariadb-upgrade --host=127.0.0.1 --user=root --password=y9ZmTmUKLaRrZ4SA" # command: "mariadb-upgrade --host=127.0.0.1 --user=root --password=y9ZmTmUKLaRrZ4SA"
register: task # register: task
ignore_errors: yes # ignore_errors: yes
changed_when: task.stdout.find("This installation of MariaDB is already upgraded") == -1 # changed_when: task.stdout.find("This installation of MariaDB is already upgraded") == -1
when: # when:
- ansible_facts.fqdn == "divarinet.northeurope.cloudapp.azure.com" # - ansible_facts.fqdn == "divarinet.northeurope.cloudapp.azure.com"
- (deployerTask102 is defined and deployerTask102.changed) or deployerTask102 is undefined # - (deployerTask102 is defined and deployerTask102.changed) or deployerTask102 is undefined
tags: # tags:
- mariadb # - mariadb
- name: "Deployer - MariaDB - Create Users" - name: "Deployer - MariaDB - Create Users"
mysql_user: mysql_user: