From 7ee7fa7332bddce22bd88f34520c1309ea81f7ef Mon Sep 17 00:00:00 2001 From: John R Barker Date: Sat, 17 Jun 2017 12:53:30 +0100 Subject: [PATCH] Use stronger password for MySQL (#25821) Previously we were getting "Your password does not satisfy the current policy requirements" Possibly caused by a software update on Fedora --- test/integration/targets/mysql_db/tasks/main.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/integration/targets/mysql_db/tasks/main.yml b/test/integration/targets/mysql_db/tasks/main.yml index bca2161789f..3c5ed14fdc6 100644 --- a/test/integration/targets/mysql_db/tasks/main.yml +++ b/test/integration/targets/mysql_db/tasks/main.yml @@ -109,10 +109,10 @@ # ============================================================ - name: create user1 to access database dbuser1 - mysql_user: name=user1 password=password1 priv=*.*:ALL state=present + mysql_user: name=user1 password=Hfd6fds^dfA8Ga priv=*.*:ALL state=present - name: create database dbuser1 using user1 - mysql_db: name={{ db_user1 }} state=present login_user=user1 login_password=password1 + mysql_db: name={{ db_user1 }} state=present login_user=user1 login_password=Hfd6fds^dfA8Ga register: result - name: assert output message that database was created @@ -127,10 +127,10 @@ # ============================================================ - name: create user2 to access database with privilege select only - mysql_user: name=user2 password=password2 priv=*.*:SELECT state=present + mysql_user: name=user2 password=kjsfd&F7safjad priv=*.*:SELECT state=present - name: create database dbuser2 using user2 with no privilege to create (expect failed=true) - mysql_db: name={{ db_user2 }} state=present login_user=user2 login_password=password2 + mysql_db: name={{ db_user2 }} state=present login_user=user2 login_password=kjsfd&F7safjad register: result ignore_errors: true @@ -149,7 +149,7 @@ # ============================================================ - name: delete database using user2 with no privilege to delete (expect failed=true) - mysql_db: name={{ db_user1 }} state=absent login_user=user2 login_password=password2 + mysql_db: name={{ db_user1 }} state=absent login_user=user2 login_password=kjsfd&F7safjad register: result ignore_errors: true @@ -168,7 +168,7 @@ # ============================================================ - name: delete database using user1 with all privilege to delete a database (expect changed=true) - mysql_db: name={{ db_user1 }} state=absent login_user=user1 login_password=password1 + mysql_db: name={{ db_user1 }} state=absent login_user=user1 login_password=Hfd6fds^dfA8Ga register: result ignore_errors: true