Some examples of ansible playbooks using role

  • docker compose role
  • mysql role
  • redis role

Installation environment

  • OS: CentOS 7 or Ubuntu 22.04

Usage

  • sudo ansible-playbook -v -i host/hosts play-role-all.yml