Guest User

Untitled

a guest
Jan 22nd, 2017
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. - name: Update MySQL root password
  2. mysql_user: name=root host={{ hostvars[item]['ansible_eth1']['ipv4']['address'] }} password={{ root_password.stdout }} login_user=root login_password={{ root_password.stdout }} check_implicit_admin=yes
  3. with_items:
  4. - "{{ appservers }}"
  5. ignore_errors: yes
  6.  
  7.  
  8.  
  9. {"failed": true, "msg": "the field 'args' has an invalid value, which appears to include a variable that is undefined. The error was: 'dict object' has no attribute 'ansible_eth1'\n\nThe error appears to have been in '/root/roles/vm/install_percona/main.yml': line 110, column 5, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n - name: Update MySQL root password\n ^ here\n"}
Add Comment
Please, Sign In to add comment