--- - 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