---
- name: Enable and restart all core services
  service:
    name: "{{ item }}"
    enabled: yes
    state: restarted
  with_items:
   - "influxdb"
   - "mysql"
   - "php7.2-fpm"
   - "nginx"
   - "redis"