Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - name: Start the MySQL service
- become: yes
- become_method: sudo
- service:
- name: mysql
- state: started
- enabled: true
- - name: update mysql root password
- mysql_user:
- name: root
- password: "{{ mySqlRootPassword }}"
- login_user: root
- login_password: "{{ mySqlRootPassword }}"
- check_implicit_admin: yes
- priv: "*.*:ALL,GRANT"
- ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement