Skip to content

Instantly share code, notes, and snippets.

@wwalker
Created November 10, 2022 05:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wwalker/0f98e9648fd6b9a429d5b69bbaf5cdf8 to your computer and use it in GitHub Desktop.
Save wwalker/0f98e9648fd6b9a429d5b69bbaf5cdf8 to your computer and use it in GitHub Desktop.
mysql_user
---
- name: Install Elasticsearch
hosts: all
tasks:
- name: add rancher user to consume cattle db
become: true
become_user: root
community.mysql.mysql_user:
name: rancher
host: localhost
password: "Monkeys"
login_user: root
login_password: Redacted
check_implicit_admin: yes
priv: "cattle.*:ALL,GRANT"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment