daily pastebin goal
23%
SHARE
TWEET

Untitled

a guest Jan 20th, 2017 102 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. - name: set root password
  2.   mysql_user:
  3.     check_implicit_admin: "yes"
  4.     login_user: "root"
  5.     login_password: "{{ mysql_root_password }}"
  6.     name: "root"
  7.     host: "{{ item }}"
  8.     password: "{{ mysql_root_password }}"
  9.   with_items:
  10.     - "{{ ansible_hostname }}"
  11.     - "127.0.0.1"
  12.     - "::1"
  13.     - "localhost"
  14.    
  15. changed: [ansible3.local] => (item=bifrost1)
  16. failed: [ansible3.local] (item=127.0.0.1) => {"failed": true, "item": "127.0.0.1", "msg": "(1396, "Operation CREATE USER failed for 'root'@'127.0.0.1'")"}
  17. failed: [ansible3.local] (item=::1) => {"failed": true, "item": "::1", "msg": "(1396, "Operation CREATE USER failed for 'root'@'::1'")"}
  18. failed: [ansible3.local] (item=localhost) => {"failed": true, "item": "localhost", "msg": "(1396, "Operation CREATE USER failed for 'root'@'localhost'")"}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top