Skip to content

Instantly share code, notes, and snippets.

@anujdevopslearn
anujdevopslearn / mysql.yml
Last active May 17, 2024 23:16
MySQL Ansible Installation Script
- hosts: webservers
tasks:
- name: Install MySQL
action: apt pkg={{ item }} state=latest
with_items:
- libmysqlclient-dev
- python-mysqldb
- mysql-server
- mysql-client