Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - name: Update MySQL root password
- 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
- with_items:
- - "{{ appservers }}"
- ignore_errors: yes
- {"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