Skip to content

Instantly share code, notes, and snippets.

@duboiss
Last active May 9, 2023 23:16
Show Gist options
  • Save duboiss/9f6f33111e49551b587ba292b44c169a to your computer and use it in GitHub Desktop.
Save duboiss/9f6f33111e49551b587ba292b44c169a to your computer and use it in GitHub Desktop.
ansible-galaxy install geerlingguy.mysql -p roles
- name: Install db server
hosts: all
vars_files:
- vars/main.yml
roles:
- role: geerlingguy.mysql
become: yes
mysql_port: 50123
mysql_root_password: "Azerty123"
mysql_databases:
- name: "qbcore"
mysql_users:
- name: "server"
host: "%"
password: "Azerty123"
priv: "qbcore.*:ALL"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment