Skip to content

Instantly share code, notes, and snippets.

@anujdevopslearn
anujdevopslearn / mysql.yml
Last active March 15, 2025 08:30
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