mirror of
				https://github.com/MatteZ02/infra.git
				synced 2025-11-04 01:59:33 +00:00 
			
		
		
		
	test
This commit is contained in:
		@@ -75,18 +75,18 @@
 | 
			
		||||
  tags:
 | 
			
		||||
    - mariadb
 | 
			
		||||
 | 
			
		||||
- name: "Deployer - MariaDB - Upgrade"
 | 
			
		||||
  containers.podman.podman_container_exec:
 | 
			
		||||
    container: "mariadb"
 | 
			
		||||
    command: "mariadb-upgrade --host=127.0.0.1 --user=root --password=y9ZmTmUKLaRrZ4SA"
 | 
			
		||||
  register: task
 | 
			
		||||
  ignore_errors: yes
 | 
			
		||||
  changed_when: task.stdout.find("This installation of MariaDB is already upgraded") == -1
 | 
			
		||||
  when:
 | 
			
		||||
    - ansible_facts.fqdn == "divarinet.northeurope.cloudapp.azure.com"
 | 
			
		||||
    - (deployerTask102 is defined and deployerTask102.changed) or deployerTask102 is undefined
 | 
			
		||||
  tags:
 | 
			
		||||
    - mariadb
 | 
			
		||||
# - name: "Deployer - MariaDB - Upgrade"
 | 
			
		||||
#   containers.podman.podman_container_exec:
 | 
			
		||||
#     container: "mariadb"
 | 
			
		||||
#     command: "mariadb-upgrade --host=127.0.0.1 --user=root --password=y9ZmTmUKLaRrZ4SA"
 | 
			
		||||
#   register: task
 | 
			
		||||
#   ignore_errors: yes
 | 
			
		||||
#   changed_when: task.stdout.find("This installation of MariaDB is already upgraded") == -1
 | 
			
		||||
#   when:
 | 
			
		||||
#     - ansible_facts.fqdn == "divarinet.northeurope.cloudapp.azure.com"
 | 
			
		||||
#     - (deployerTask102 is defined and deployerTask102.changed) or deployerTask102 is undefined
 | 
			
		||||
#   tags:
 | 
			
		||||
#     - mariadb
 | 
			
		||||
 | 
			
		||||
- name: "Deployer - MariaDB - Create Users"
 | 
			
		||||
  mysql_user:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user