Advertisement
Guest User

Untitled

a guest
May 28th, 2016
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. - name: Generate a 32 character password for mariadb root password
  2. command: openssl rand -base64 32
  3. register: mysql_root_password
  4. tags:
  5. - install
  6. - configure
  7.  
  8. - name: Set root password
  9. mysql_user:
  10. user: "root"
  11. password: "{{ mysql_root_password.stdout }}"
  12. tags:
  13. - install
  14. - configure
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement