1. ah hoc
  2.  
  3. GRANT USAGE ON *.* TO cluster_user@'%' IDENTIFIED BY 'Mypass';
  4. GRANT ALL PRIVILEGES on *.* to cluster_user@'%';
  5.  
  6. in playbook, is it correct ?
  7.  
  8. - name: create database cluster_user
  9.   mysql_user:
  10.     name: cluster_user
  11.     password: Mypass
  12.     priv: '*.*:ALL,GRANT'
  13.     state: present

Posted by Anonymous at 12 Jul 2018, 03:12:21 Etc/UTC
Language: text