Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2017
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement