Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - name: Generate a 32 character password for mariadb root password
- command: openssl rand -base64 32
- register: mysql_root_password
- tags:
- - install
- - configure
- - name: Set root password
- mysql_user:
- user: "root"
- password: "{{ mysql_root_password.stdout }}"
- tags:
- - install
- - configure
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement