GrupoTP-37/roles/mysql_deploy/tasks/main.yml

20 lines
495 B
YAML

---
- name: Create MySQL Persistent Volume Claim
kubernetes.core.k8s:
namespace: default
state: present
src: roles/mysql_deploy/templates/mysql-pvc.yml
- name: Create MySQL Deployment
kubernetes.core.k8s:
namespace: default
state: present
src: roles/mysql_deploy/templates/mysql-deployment.yml
- name: Create MySQL Service
kubernetes.core.k8s:
namespace: default
state: present
src: roles/mysql_deploy/templates/mysql-service.yml
wait: yes